Package: gtk

Accessor gtk:menu-active

Lambda List

gtk:menu-active (object)

Syntax

(gtk:menu-active object) => active
(setf (gtk:menu-active object) active)

Arguments

object -- a gtk:menu widget
active -- an integer with the index of the currently selected menu item

Details

Accessor of the active slot of the gtk:menu class. The gtk:menu-active function returns the currently selected menu item from the menu, or -1 if no menu item is selected. The (setf gtk:menu-active) function selects the specified menu item. This is used by the gtk:combo-box widget and should not be used by anyone else.
 

See also

#2023-3-21