Package: gtk

Accessor gtk:menu-button-can-shrink

Lambda List

gtk:menu-button-can-shrink (object)

Syntax

(gtk:menu-button-can-shrink object) => setting
(setf (gtk:menu-button-can-shrink object) setting)

Arguments

object -- a gtk:menu-button widget
setting -- a boolean whether the menu button can shrink

Details

The accessor for the can-shrink slot of the gtk:menu-button class gets or sets whether the menu button can be smaller than the natural size of its contents.

For text menu buttons, setting the can-shrink property to true will ellipsize the label. For icon menu buttons, this function has no effect.

Since 4.12
 

See also

2025-08-05