Package: gtk

Accessor gtk-menu-reserve-toggle-size

Lambda List

gtk-menu-reserve-toggle-size (object)

Syntax

(gtk-menu-reserve-toggle-size object) => reserve
(setf (gtk-menu-reserve-toggle-size object) reserve)

Arguments

object -- a gtk-menu widget
reserve -- a boolean whether to reserve size for toggles

Details

Accessor of the reserve-toggle-size slot of the gtk-menu class.

The gtk-menu-reserve-toggle-size slot access function returns whether the menu reserves space for toggles and icons, regardless of their actual presence. The (setf gtk-menu-reserve-toggle-size) slot access function sets whether the menu should reserve space.

This property should only be changed from its default value for special purposes such as tabular menus. Regular menus that are connected to a menu bar or context menus should reserve toggle space for consistency.
 

See also

2021-11-14