Trait gtk::NativeDialogExt
source · [−]pub trait NativeDialogExt: 'static {
Show 17 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 get_transient_for(&self) -> Option<Window>
source
fn get_visible(&self) -> bool
source
fn set_property_visible(&self, visible: bool)
sourcefn connect_response<F: Fn(&Self, ResponseType) + 'static>(
fn connect_response<F: Fn(&Self, ResponseType) + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_property_modal_notify<F: Fn(&Self) + 'static>(
fn connect_property_modal_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_property_title_notify<F: Fn(&Self) + 'static>(
fn connect_property_title_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_property_transient_for_notify<F: Fn(&Self) + 'static>(
fn connect_property_transient_for_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_property_visible_notify<F: Fn(&Self) + 'static>(