pub trait WindowGroupExt: IsA<WindowGroup> + '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
Provided Methods§
Sourcefn add_window(&self, window: &impl IsA<Window>)
fn add_window(&self, window: &impl IsA<Window>)
Sourcefn 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.
Sourcefn remove_window(&self, window: &impl IsA<Window>)
fn remove_window(&self, window: &impl IsA<Window>)
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.