[][src]Trait gtk::prelude::MountOperationExt

pub trait MountOperationExt: 'static {
    fn get_parent(&self) -> Option<Window>;
fn get_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 get_property_is_showing(&self) -> bool;
fn connect_property_is_showing_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_parent_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_screen_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Trait containing all MountOperation methods.

Implementors

MountOperation

Required methods

fn get_parent(&self) -> Option<Window>

Gets the transient parent used by the MountOperation

Returns

the transient parent for windows shown by self

fn get_screen(&self) -> Option<Screen>

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

Returns whether the MountOperation is currently displaying a window.

Returns

true if self is currently displaying a window

fn set_parent<P: IsA<Window>>(&self, parent: Option<&P>)

Sets the transient parent for windows shown by the MountOperation.

parent

transient parent of the window, or None

fn set_screen(&self, screen: &Screen)

Sets the screen to show windows of the MountOperation on.

screen

a gdk::Screen

fn get_property_is_showing(&self) -> bool

fn connect_property_is_showing_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId

fn connect_property_parent_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId

fn connect_property_screen_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId

Loading content...

Implementors

impl<O: IsA<MountOperation>> MountOperationExt for O[src]

Loading content...