Trait gtk4::prelude::NativeDialogExt
source · [−]pub trait NativeDialogExt: 'static {
Show 16 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 transient_for(&self) -> Option<Window>
source
fn is_visible(&self) -> bool
source
fn set_transient_for(&self, parent: Option<&impl IsA<Window>>)
source
fn set_visible(&self, visible: bool)
sourcefn connect_response<F: Fn(&Self, ResponseType) + 'static>(
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
sourcefn connect_transient_for_notify<F: Fn(&Self) + 'static>(
fn connect_transient_for_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
source