Package: gtk

Accessor gtk:button-can-shrink

Lambda List

gtk:button-can-shrink (object)

Syntax

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

Arguments

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

Details

Accessor of the can-shrink slot of the gtk:button class. The gtk:button-can-shrink function retrieves whether the button can be smaller than the natural size of its contents. The (setf gtk:button-can-shrink) function sets whether the button size can be smaller than the natural size of its contents. For text buttons, setting the can-shrink to true will ellipsize the label. For icons and custom children, this function has no effect.

Since 4.12
 

See also

2023-9-2