Property
GtkMenu:anchor-hints
since: 3.22
Description [src]
Positioning hints for aligning the menu relative to a rectangle.
These hints determine how the menu should be positioned in the case that the menu would fall off-screen if placed in its ideal position.
For example, GDK_ANCHOR_FLIP_Y
will replace GDK_GRAVITY_NORTH_WEST
with
GDK_GRAVITY_SOUTH_WEST
and vice versa if the menu extends beyond the
bottom edge of the monitor.
See gtk_menu_popup_at_rect (), gtk_menu_popup_at_widget (),
gtk_menu_popup_at_pointer (), GtkMenu:rect-anchor-dx
,
GtkMenu:rect-anchor-dy
, GtkMenu:menu-type-hint
, and GtkMenu::popped-up
.
Type:GdkAnchorHints
Available since: 3.22
Default value | GDK_ANCHOR_FLIP_X | GDK_ANCHOR_FLIP_Y | GDK_ANCHOR_SLIDE_X | GDK_ANCHOR_SLIDE_Y | GDK_ANCHOR_RESIZE_X | GDK_ANCHOR_RESIZE_Y |