Package: gtk

Accessor gtk-menu-button-align-widget

Lambda List

gtk-menu-button-align-widget (object)

Syntax

(gtk-menu-button-align-widget object) => widget
(setf (gtk-menu-button-align-widget object) widget)

Arguments

object -- a gtk-menu-button widget
widget -- a gtk-widget object

Details

Accessor of the align-widget slot of the gtk-menu-button class.

The gtk-menu-button-align-widget slot access function returns the parent widget to use to line up with menu or nil. The (setf gtk-menu-button-align-widget) slot access function sets the widget to use to line the menu with when popped up. Note that the widget argument must contain the menu button itself.

Setting it to nil means that the menu will be aligned with the button itself.

Note that this property is only used with menus currently, and not for popovers.
 

See also

2021-12-23