Package: gtk

Accessor gtk-menu-anchor-hints

Lambda List

gtk-menu-anchor-hints (object)

Syntax

(gtk-menu-anchor-hints object) => hints
(setf (gtk-menu-anchor-hints object) hints)

Arguments

object -- a gtk-menu widget
hints -- a value of the gdk-anchor-hints flags

Details

Accessor of the anchor-hints slot of the gtk-menu class.

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.



For example, :flip-y will replace :north-west with :south-west and vice versa if the menu extends beyond the bottom edge of the monitor. See the gtk-menu-popup-at-rect, gtk-menu-popup-at-widget, gtk-menu-popup-at-pointer functions, the rect-anchor-dx, rect-anchor-dy, menu-type-hint properties, and the "popped-up" signal.

Since 3.22
 

See also

2021-11-14