pub trait WindowGroupExt: IsA<WindowGroup> + Sealed + 'static {
    // Provided methods
    fn add_window(&self, window: &impl IsA<Window>) { ... }
    fn list_windows(&self) -> Vec<Window> { ... }
    fn remove_window(&self, window: &impl IsA<Window>) { ... }
}
Expand description

Trait containing all WindowGroup methods.

Implementors

WindowGroup

Provided Methods§

source

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

Adds a window to a WindowGroup.

window

the Window to add

source

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.

source

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

Removes a window from a WindowGroup.

window

the Window to remove

Implementors§