pub trait NativeDialogExt: 'static {
Show 16 methods // Required 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;
}

Required 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

Implementors§