Trait gtk4::prelude::MountOperationExt[][src]

pub trait MountOperationExt: 'static {
    fn display(&self) -> Option<Display>;
fn parent(&self) -> Option<Window>;
fn is_showing(&self) -> bool;
fn set_display<P: IsA<Display>>(&self, display: &P);
fn set_parent<P: IsA<Window>>(&self, parent: Option<&P>);
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

Trait containing all MountOperation methods.

Implementors

MountOperation

Required methods

Gets the display on which windows of the MountOperation will be shown.

Returns

the display on which windows of self are shown

Gets the transient parent used by the MountOperation.

Returns

the transient parent for windows shown by self

Returns whether the MountOperation is currently displaying a window.

Returns

true if self is currently displaying a window

Sets the display to show windows of the MountOperation on.

display

a gdk::Display

Sets the transient parent for windows shown by the MountOperation.

parent

transient parent of the window

Implementors