Trait NativeDialogExt

Source
pub trait NativeDialogExt: 'static {
Show 17 methods // Required methods fn destroy(&self); fn get_modal(&self) -> bool; fn get_title(&self) -> Option<GString>; fn get_transient_for(&self) -> Option<Window>; fn get_visible(&self) -> bool; fn hide(&self); fn run(&self) -> i32; fn set_modal(&self, modal: bool); fn set_title(&self, title: &str); fn set_transient_for<P: IsA<Window>>(&self, parent: Option<&P>); fn show(&self); fn set_property_visible(&self, visible: bool); fn connect_response<F: Fn(&Self, ResponseType) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_modal_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_title_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_transient_for_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_visible_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId;
}

Required Methods§

Source

fn destroy(&self)

Source

fn get_modal(&self) -> bool

Source

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

Source

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

Source

fn get_visible(&self) -> bool

Source

fn hide(&self)

Source

fn run(&self) -> i32

Source

fn set_modal(&self, modal: bool)

Source

fn set_title(&self, title: &str)

Source

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

Source

fn show(&self)

Source

fn set_property_visible(&self, visible: bool)

Source

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

Source

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

Source

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

Source

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

Source

fn connect_property_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§