Package: gtk

Accessor gtk:picture-can-shrink

Lambda List

gtk:picture-can-shrink (object)

Syntax

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

Arguments

object -- a gtk:picture widget
setting -- a boolean whether the picture can be made smaller than it contents

Details

Accessor of the can-shrink slot of the gtk:picture class. If set to the true value, the picture can be made smaller than its contents. The contents will then be scaled down when rendering. If you want to still force a minimum size manually, consider using the gtk:widget-size-request function. Also of note is that a similar function for growing does not exist because the grow behavior can be controlled via the halign and valign properties.
 

See also

2024-10-30