mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-16 07:04:29 +00:00
Move documentation to inline comments: GtkWindowGroup
This commit is contained in:
parent
f7b7e8a6b8
commit
9d63d16e3e
1
docs/reference/gtk/tmpl/.gitignore
vendored
1
docs/reference/gtk/tmpl/.gitignore
vendored
@ -139,3 +139,4 @@ gtktreeview.sgml
|
|||||||
gtktreeviewcolumn.sgml
|
gtktreeviewcolumn.sgml
|
||||||
gtktypeutils.sgml
|
gtktypeutils.sgml
|
||||||
gtkwindow.sgml
|
gtkwindow.sgml
|
||||||
|
gtkwindowgroup.sgml
|
||||||
|
@ -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:
|
|
||||||
|
|
||||||
|
|
@ -8169,6 +8169,21 @@ gtk_window_has_toplevel_focus (GtkWindow *window)
|
|||||||
return window->priv->has_toplevel_focus;
|
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)
|
G_DEFINE_TYPE (GtkWindowGroup, gtk_window_group, G_TYPE_OBJECT)
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
Reference in New Issue
Block a user