AnchorHints


Description:

[ CCode ( cprefix = "GDK_ANCHOR_" , type_id = "gdk_anchor_hints_get_type ()" ) ]
[ Flags ]
[ Version ( since = "3.22" ) ]
public enum AnchorHints

Positioning hints for aligning a window relative to a rectangle.

These hints determine how the window should be positioned in the case that the window 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 window extends beyond the left or right edges of the monitor.

If gdk_anchor_slide_x is set, the window can be shifted horizontally to fit on-screen. If gdk_anchor_resize_x is set, the window 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.


Namespace: Gdk
Package: gdk-3.0

Content:

Enum values: