gtk.window_group

Module for WindowGroup class

Types 3

gtk.window_group.WindowGroup makes group of windows behave like separate applications.

It achieves this by limiting the effect of GTK grabs and modality to windows in the same group.

A window can be a member in at most one window group at a time. Windows that have not been explicitly assigned to a group are implicitly treated like windows of the default window group.

gtk.window_group.WindowGroup objects are referenced by each window in the group, so once you have added all windows to a gtk.window_group.WindowGroup, you can drop the initial reference to the window group with gobject.object.ObjectWrap.unref. If the windows in the window group are subsequently destroyed, then they will be removed from the window group and drop their references on the window group; when all window have been removed, the window group will be freed.

Methods
GType _gType() @property
WindowGroup self()Returns `this`, for use in `with` statements.
WindowGroupGidBuilder builder()Get builder for [gtk.window_group.WindowGroup] Returns: New builder object
void addWindow(gtk.window.Window window)Adds a window to a [gtk.window_group.WindowGroup].
gtk.window.Window[] listWindows()Returns a list of the `GtkWindows` that belong to window_group. Returns: A newly-allocated list of windows inside the group.
void removeWindow(gtk.window.Window window)Removes a window from a [gtk.window_group.WindowGroup].
Constructors
this(void * ptr, Flag!"Take" take)
this()Creates a new [gtk.window_group.WindowGroup] object.

Fluent builder for gtk.window_group.WindowGroup

Methods
WindowGroup build()Create object from builder. Returns: New object