Package: gtk

Accessor gtk:size-group-ignore-hidden

Lambda List

gtk:size-group-ignore-hidden (object)

Syntax

(gtk:size-group-ignore-hidden object) => ignore-hidden
(setf (gtk:size-group-ignore-hidden object) ignore-hidden)

Arguments

size-group -- a gtk:size-group object
ignore-hidden -- a boolean whether unmapped widgets should be ignored when calculating the size

Details

Accessor of the ignore-hidden slot of the gtk:size-group class. The gtk:size-group-ignore-hidden function returns if invisible widgets are ignored when calculating the size. The (setf gtk:size-group-ignore-hidden) function sets whether unmapped widgets should be ignored when calculating the size.

Warning

The gtk:size-group-ignore-hidden function has been deprecated since version 3.22 and should not be used in newly written code. Measuring the size of hidden widgets has not worked reliably for a long time. In most cases, they will report a size of 0 nowadays, and thus, their size will not affect the other size group members. In effect, size groups will always operate as if this property was true. Use a gtk:stack widget instead to hide widgets while still having their size taken into account.
 

See also

#2023-2-23