Trait gtk::prelude::MountOperationExt [−][src]
pub trait MountOperationExt: 'static {
fn parent(&self) -> Option<Window>;
fn screen(&self) -> Option<Screen>;
fn is_showing(&self) -> bool;
fn set_parent<P: IsA<Window>>(&self, parent: Option<&P>);
fn set_screen(&self, screen: &Screen);
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;
fn connect_screen_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
}Expand description
Required methods
Gets the transient parent used by the MountOperation
Returns
the transient parent for windows shown by self
Gets the screen on which windows of the MountOperation
will be shown.
Returns
the screen on which windows of self are shown
fn is_showing(&self) -> bool
fn is_showing(&self) -> boolReturns whether the MountOperation is currently displaying
a window.
Returns
true if self is currently displaying a window
Sets the transient parent for windows shown by the
MountOperation.
parent
transient parent of the window, or None
fn set_screen(&self, screen: &Screen)
fn set_screen(&self, screen: &Screen)fn connect_is_showing_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerIdfn connect_parent_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerIdfn connect_screen_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId