5.1 <GdkAnchorHints>

Flags: <GdkAnchorHints>

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, flip-x will replace north-west with north-east and vice versa if the surface extends beyond the left or right edges of the monitor.

If slide-x is set, the surface can be shifted horizontally to fit on-screen. If 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.

Members

flip-x

allow flipping anchors horizontally

flip-y

allow flipping anchors vertically

slide-x

allow sliding surface horizontally

slide-y

allow sliding surface vertically

resize-x

allow resizing surface horizontally

resize-y

allow resizing surface vertically

flip

allow flipping anchors on both axes

slide

allow sliding surface on both axes

resize

allow resizing surface on both axes