[go: up one dir, main page]

NativeDialogExt

Trait NativeDialogExt 

Source
pub trait NativeDialogExt: IsA<NativeDialog> + 'static {
Show 16 methods // Provided methods fn destroy(&self) { ... } fn is_modal(&self) -> bool { ... } fn title(&self) -> Option<GString> { ... } fn transient_for(&self) -> Option<Window> { ... } fn is_visible(&self) -> bool { ... } fn hide(&self) { ... } fn set_modal(&self, modal: bool) { ... } fn set_title(&self, title: &str) { ... } fn set_transient_for(&self, parent: Option<&impl IsA<Window>>) { ... } fn show(&self) { ... } fn set_visible(&self, visible: bool) { ... } fn connect_response<F: Fn(&Self, ResponseType) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_modal_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_title_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_transient_for_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_visible_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... }
}

Provided Methods§

Source

fn destroy(&self)

Source

fn is_modal(&self) -> bool

Source

fn title(&self) -> Option<GString>

Source

fn transient_for(&self) -> Option<Window>

Source

fn is_visible(&self) -> bool

Source

fn hide(&self)

Source

fn set_modal(&self, modal: bool)

Source

fn set_title(&self, title: &str)

Source

fn set_transient_for(&self, parent: Option<&impl IsA<Window>>)

Source

fn show(&self)

Source

fn set_visible(&self, visible: bool)

Source

fn connect_response<F: Fn(&Self, ResponseType) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn connect_modal_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

Source

fn connect_title_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

Source

fn connect_transient_for_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn connect_visible_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§