Trait gtk::prelude::WindowGroupExt
source · [−]pub trait WindowGroupExt: 'static {
fn add_window(&self, window: &impl IsA<Window>);
fn current_device_grab(&self, device: &Device) -> Option<Widget>;
fn current_grab(&self) -> Option<Widget>;
fn list_windows(&self) -> Vec<Window>;
fn remove_window(&self, window: &impl IsA<Window>);
}
Expand description
Required Methods
fn add_window(&self, window: &impl IsA<Window>)
fn add_window(&self, window: &impl IsA<Window>)
fn current_device_grab(&self, device: &Device) -> Option<Widget>
fn current_device_grab(&self, device: &Device) -> Option<Widget>
fn current_grab(&self) -> Option<Widget>
fn 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>
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.