docs: Tweak GdkPopup docs

This commit is contained in:
Matthias Clasen 2020-10-29 14:00:13 -04:00
parent 3afd5d7a89
commit 94305f248b

View File

@ -27,9 +27,13 @@
* SECTION:gdkpopup * SECTION:gdkpopup
* @Short_description: Interface for popup surfaces * @Short_description: Interface for popup surfaces
* @Title: Popups * @Title: Popups
* @See_also: #GdkToplevel, #GdkSurface
* *
* A #GdkPopup is a surface that is attached to another surface, * A #GdkPopup is a surface that is attached to another surface,
* and is positioned relative to it. * called its #GdkPopup:parent, and is positioned relative to it.
*
* #GdkPopups are typically used to implement menus and similar popups.
* They can be modal, which is indicated by the #GdkPopup:autohide property.
*/ */
G_DEFINE_INTERFACE (GdkPopup, gdk_popup, GDK_TYPE_SURFACE) G_DEFINE_INTERFACE (GdkPopup, gdk_popup, GDK_TYPE_SURFACE)