Abstract: No Structure:
Gtk.WindowGrouprestricts the effect of grabs to windows in the same group, thereby making window groups almost behave like separate applications.
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.WindowGroupobjects are referenced by each window in the group, so once you have added all windows to a
Gtk.WindowGroup, you can drop the initial reference to the window group with
GObject.Object.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.
Returns: a new
Parameters: window (
Gtk.Window) – the
Adds a window to a
Parameters: device (
Gdk.Device) – a
Returns: The grab widget, or
Returns the current grab widget for device, or
New in version 3.0.
Returns: the current grab widget of the group Return type:
Gets the current grab widget of the given group, see
New in version 2.22.
Returns: A newly-allocated list of windows inside the group. Return type: [
Returns a list of the
Gtk.Windowsthat belong to self.
New in version 2.14.