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§
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
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.