[ CCode ( cprefix = "GDK_ANCHOR_" , type_id = "gdk_anchor_hints_get_type ()" ) ]
[ Flags ]
public enum AnchorHints
Positioning hints for aligning a surface relative to a rectangle.
These hints determine how the surface should be positioned in the case that the surface would fall off-screen if placed in its ideal position.
For example, gdk_anchor_flip_x will replace gdk_gravity_north_west with gdk_gravity_north_east and vice versa if the surface extends beyond the left or right edges of the monitor.
If gdk_anchor_slide_x is set, the surface can be shifted horizontally to fit on-screen. If gdk_anchor_resize_x is set, the surface can be shrunken horizontally to fit.
In general, when multiple flags are set, flipping should take precedence over sliding, which should take precedence over resizing.