[][src]Trait gtk::WindowGroupExt

pub trait WindowGroupExt: 'static {
    fn add_window<P: IsA<Window>>(&self, window: &P);
fn get_current_device_grab(&self, device: &Device) -> Option<Widget>;
fn get_current_grab(&self) -> Option<Widget>;
fn list_windows(&self) -> Vec<Window>;
fn remove_window<P: IsA<Window>>(&self, window: &P); }

Trait containing all WindowGroup methods.

Implementors

WindowGroup

Required methods

fn add_window<P: IsA<Window>>(&self, window: &P)

Adds a window to a WindowGroup.

window

the Window to add

fn get_current_device_grab(&self, device: &Device) -> Option<Widget>

Returns the current grab widget for device, or None if none.

device

a gdk::Device

Returns

The grab widget, or None

fn get_current_grab(&self) -> Option<Widget>

Gets the current grab widget of the given group, see WidgetExt::grab_add.

Returns

the current grab widget of the group

fn list_windows(&self) -> Vec<Window>

Returns a list of the GtkWindows that belong to self.

Returns

A newly-allocated list of windows inside the group.

fn remove_window<P: IsA<Window>>(&self, window: &P)

Removes a window from a WindowGroup.

window

the Window to remove

Loading content...

Implementors

impl<O: IsA<WindowGroup>> WindowGroupExt for O[src]

Loading content...