Package: gtk

Accessor gtk:menu-button-direction

Lambda List

gtk:menu-button-direction (object)

Syntax

(gtk:menu-button-direction object) => direction
(setf (gtk:menu-button-direction object) direction)

Arguments

object -- a gtk:menu-button widget
direction -- a value of the gtk:arrow-type enumeration

Details

The accessor for the direction slot of the gtk:menu-button class gets or sets the direction the popup will be pointing at when popped up. The child widget will not be changed to an arrow if it was customized.

If the popup does not fit in the available space in the given direction, GTK will its best to keep it inside the screen and fully visible.

If you pass the :none value for a direction, the popup will behave as if you passed the :down value, although you will not see any arrows.
 

See also

2025-08-05