Package: gdk

Function gdk:popup-layout-anchor-hints

Lambda List

gdk:popup-layout-anchor-hints (layout)

Syntax

(gdk:popup-layout-anchor-hints layout) => hints
(setf (gdk:popup-layout-anchor-hints layout) hints)

Arguments

layout -- a gdk:popup-layout instance
hints -- a gdk:anchor-hints value

Details

The gdk:popup-layout-anchor-hints function gets the anchor hints. The (setf gdk:popup-layout-anchor-hints) function sets new anchor hints.

The anchor hints determines how surface will be moved if the anchor points cause it to move off-screen. For example, the :flip-x value will replace the :north-west gravity with the :north-east gravity and vice versa if surface extends beyond the left or right edges of the monitor.
 

See also

2024-2-17