diff options
author | Matthias Clasen <mclasen@redhat.com> | 2014-06-04 21:25:05 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2014-06-04 21:25:05 -0400 |
commit | 2bbea2bc93203b8585e11d29143defdbe8accc0c (patch) | |
tree | ff08179d1b7740489b05239bf106516042cc3320 /gtk/gtkwindowgroup.c | |
parent | 23aeb955ced620bae40f38e64b412173a5e8c805 (diff) | |
download | gtk+-2bbea2bc93203b8585e11d29143defdbe8accc0c.tar.gz |
Expand GtkWindowGroup docs
Diffstat (limited to 'gtk/gtkwindowgroup.c')
-rw-r--r-- | gtk/gtkwindowgroup.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/gtk/gtkwindowgroup.c b/gtk/gtkwindowgroup.c index 2a9cd1e92a..bed78cf286 100644 --- a/gtk/gtkwindowgroup.c +++ b/gtk/gtkwindowgroup.c @@ -34,8 +34,16 @@ * @Short_description: Limit the effect of grabs * @Title: GtkWindowGroup * - * #GtkWindowGroup objects are referenced by each window in the group, - * so once you have added all windows to a #GtkWindowGroup, you can drop + * A #GtkWindowGroup 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 g_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 |