anchor_hints


Description:

[ NoAccessorMethod ]
[ Version ( since = "3.22" ) ]
public AnchorHints anchor_hints { get; set construct; }

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.

![](popup-flip.png)

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 (), rect_anchor_dx, rect_anchor_dy, menu_type_hint, and popped_up.




2022 vala-language.org