diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-01-05 10:59:59 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-01-05 10:59:59 -0500 |
commit | d1fcfa58b9319d8ec75b2fb99eba4ff90f0e801e (patch) | |
tree | 2e3c7ec6f131c0fdaa45e77b7b8d34a254846821 | |
parent | 7c5b8911d80bd07f7e0f54a05df4da7844687db5 (diff) | |
download | gtk+-d1fcfa58b9319d8ec75b2fb99eba4ff90f0e801e.tar.gz |
popup: Mention the popover arrow in the docs
Suggested by Jonas.
-rw-r--r-- | gdk/gdkpopuplayout.c | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/gdk/gdkpopuplayout.c b/gdk/gdkpopuplayout.c index bff14a935c..7192ef259d 100644 --- a/gdk/gdkpopuplayout.c +++ b/gdk/gdkpopuplayout.c @@ -51,11 +51,16 @@ * * ![Sliding popups](popup-slide.png) * - * These hints may be combined, but it is ultimatively up to the windowing - * system to determine the position and size of the popup. You can learn - * about the result by calling gdk_popup_get_position_x(), - * gdk_popup_get_position_y(), gdk_popup_get_rect_anchor() and - * gdk_popup_get_surface_anchor() after the popup has been presented. + * These hints may be combined. + * + * Ultimatively, it is up to the windowing system to determine the position + * and size of the popup. You can learn about the result by calling + * gdk_popup_get_position_x(), gdk_popup_get_position_y(), + * gdk_popup_get_rect_anchor() and gdk_popup_get_surface_anchor() after the + * popup has been presented. This can be used to adjust the rendering. For + * example, GtkPopover changes its arrow position accordingly. But you have + * to be careful avoid changing the size of the popover, or it has to be + * presented again. */ struct _GdkPopupLayout |