WindowGroup


Object Hierarchy:

Gtk.WindowGroup Gtk.WindowGroup Gtk.WindowGroup GLib.Object GLib.Object GLib.Object->Gtk.WindowGroup

Description:

[ CCode ( type_id = "gtk_window_group_get_type ()" ) ]
public class WindowGroup : Object

A WindowGroup restricts 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.

GtkWindowGroup objects are referenced by each window in the group, so once you have added all windows to a GtkWindowGroup, you can drop the initial reference to the window group with 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.


Namespace: Gtk
Package: gtk+-3.0

Content:

Creation methods:

Methods:

Inherited Members:

All known members inherited from class GLib.Object



2022 vala-language.org