popuplayout: Add docs

This commit is contained in:
Matthias Clasen
2020-03-09 13:36:38 -07:00
parent fe35831112
commit 0791363943

View File

@@ -22,6 +22,16 @@
#include "gdksurface.h"
/**
* SECTION:gdkpopuplayout
* @Title: GdkPopupLayout
* @Short_description: Information for presenting popups
*
* Popups are positioned relative to their parent surface.
* The GdkPopupLayout struct contains information that is
* necessary to do so.
*/
struct _GdkPopupLayout
{
/* < private >*/
@@ -200,6 +210,8 @@ gdk_popup_layout_set_rect_anchor (GdkPopupLayout *layout,
* gdk_popup_layout_get_rect_anchor:
* @layout: a #GdkPopupLayout
*
* Returns the anchor position on the anchor rectangle.
*
* Returns: the anchor on the anchor rectangle.
*/
GdkGravity
@@ -226,6 +238,8 @@ gdk_popup_layout_set_surface_anchor (GdkPopupLayout *layout,
* gdk_popup_layout_get_surface_anchor:
* @layout: a #GdkPopupLayout
*
* Returns the anchor position on the popup surface.
*
* Returns: the anchor on the popup surface.
*/
GdkGravity