Package: gtk

Accessor gtk-widget-hexpand-set

Lambda List

gtk-widget-hexpand-set (object)

Syntax

(gtk-widget-hexpand-set object) => setting
(setf (gtk-widget-hexpand-set object) setting)

Arguments

object -- a gtk-widget object
setting -- a boolean whether to use the hexpand property

Details

Accessor of the hexpand-set slot of the gtk-widget class.

The gtk-widget-hexpand-set slot access function gets whether the gtk-widget-hexpand slot access function has been used to explicitly set the expand flag on this widget.

The hexpand-set property will be set automatically when you call the gtk-widget-hexpand function to set the hexpand property, so the most likely reason to use the (setf gtk-widget-hexpand-set) function would be to unset an explicit expand flag.

If the hexpand property is set, then it overrides any computed expand value based on child widgets. If the hexpand property is not set, then the expand value depends on whether any children of the widget would like to expand. There are few reasons to use this function, but it is here for completeness and consistency.

 

See also

2021-9-15