Trait gtk4::prelude::MountOperationExt
source · [−]pub trait MountOperationExt: 'static {
fn display(&self) -> Display;
fn parent(&self) -> Option<Window>;
fn is_showing(&self) -> bool;
fn set_display(&self, display: &impl IsA<Display>);
fn set_parent(&self, parent: Option<&impl IsA<Window>>);
fn connect_display_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_is_showing_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_parent_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
}
Required Methods
source
fn is_showing(&self) -> bool
source
fn set_display(&self, display: &impl IsA<Display>)
source
fn set_parent(&self, parent: Option<&impl IsA<Window>>)
source
fn connect_display_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
sourcefn connect_is_showing_notify<F: Fn(&Self) + 'static>(
fn connect_is_showing_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
source