pub trait GtkMountOperationExt: IsA<MountOperation> + 'static {
// Provided methods
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 { ... }
}
Expand description
Provided Methods§
Sourcefn display(&self) -> Display
fn display(&self) -> Display
Gets the display on which windows of the MountOperation
will be shown.
§Returns
the display on which windows of @self are shown
Sourcefn parent(&self) -> Option<Window>
fn parent(&self) -> Option<Window>
Gets the transient parent used by the MountOperation
.
§Returns
the transient parent for windows shown by @self
Sourcefn is_showing(&self) -> bool
fn is_showing(&self) -> bool
Returns whether the MountOperation
is currently displaying
a window.
§Returns
true
if @self is currently displaying a window
Sourcefn set_display(&self, display: &impl IsA<Display>)
fn set_display(&self, display: &impl IsA<Display>)
Sourcefn set_parent(&self, parent: Option<&impl IsA<Window>>)
fn set_parent(&self, parent: Option<&impl IsA<Window>>)
Sets the transient parent for windows shown by the
MountOperation
.
§parent
transient parent of the 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
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.