[gtk+] Move documentation to inline comments: GtkWindowGroup
- From: Javier Jardón <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Move documentation to inline comments: GtkWindowGroup
- Date: Mon, 18 Apr 2011 01:43:16 +0000 (UTC)
commit 9d63d16e3e55c340d2eac73502595bcb742ef61e
Author: Javier Jardón <jjardon gnome org>
Date: Mon Apr 18 01:21:21 2011 +0100
Move documentation to inline comments: GtkWindowGroup
docs/reference/gtk/tmpl/.gitignore | 1 +
docs/reference/gtk/tmpl/gtkwindowgroup.sgml | 89 ---------------------------
gtk/gtkwindow.c | 15 +++++
3 files changed, 16 insertions(+), 89 deletions(-)
---
diff --git a/docs/reference/gtk/tmpl/.gitignore b/docs/reference/gtk/tmpl/.gitignore
index 139e198..f4f7a77 100644
--- a/docs/reference/gtk/tmpl/.gitignore
+++ b/docs/reference/gtk/tmpl/.gitignore
@@ -139,3 +139,4 @@ gtktreeview.sgml
gtktreeviewcolumn.sgml
gtktypeutils.sgml
gtkwindow.sgml
+gtkwindowgroup.sgml
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index b046669..0b78866 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -8169,6 +8169,21 @@ gtk_window_has_toplevel_focus (GtkWindow *window)
return window->priv->has_toplevel_focus;
}
+
+/**
+ * SECTION:gtkwindowgroup
+ * @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
+ * 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
+ * group; when all window have been removed, the window group will be
+ * freed.
+ */
+
G_DEFINE_TYPE (GtkWindowGroup, gtk_window_group, G_TYPE_OBJECT)
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]