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

The accessor for the can-shrink slot of the gtk:button class gets or sets whether the button 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

2025-08-05