Move documentation to inline comments: GtkWindowGroup

This commit is contained in:
Javier Jardón 2011-04-18 01:21:21 +01:00
parent f7b7e8a6b8
commit 9d63d16e3e
3 changed files with 16 additions and 89 deletions

View File

@ -139,3 +139,4 @@ gtktreeview.sgml
gtktreeviewcolumn.sgml
gtktypeutils.sgml
gtkwindow.sgml
gtkwindowgroup.sgml

View File

@ -1,89 +0,0 @@
<!-- ##### SECTION Title ##### -->
GtkWindowGroup
<!-- ##### SECTION Short_Description ##### -->
Limit the effect of grabs
<!-- ##### SECTION Long_Description ##### -->
<para>
#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.
</para>
<!-- ##### SECTION See_Also ##### -->
<para>
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### SECTION Image ##### -->
<!-- ##### STRUCT GtkWindowGroup ##### -->
<para>
</para>
<!-- ##### FUNCTION gtk_window_group_new ##### -->
<para>
</para>
@void:
@Returns:
<!-- ##### FUNCTION gtk_window_group_add_window ##### -->
<para>
</para>
@window_group:
@window:
<!-- ##### FUNCTION gtk_window_group_remove_window ##### -->
<para>
</para>
@window_group:
@window:
<!-- ##### FUNCTION gtk_window_group_list_windows ##### -->
<para>
</para>
@window_group:
@Returns:
<!-- ##### FUNCTION gtk_window_group_get_current_grab ##### -->
<para>
</para>
@window_group:
@Returns:
<!-- ##### FUNCTION gtk_window_group_get_current_device_grab ##### -->
<para>
</para>
@window_group:
@device:
@Returns:

View File

@ -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