SizeGroup.setIgnoreHidden

void setIgnoreHidden(bool ignoreHidden)

Sets whether unmapped widgets should be ignored when calculating the size.

Parameters

ignoreHiddenwhether unmapped widgets should be ignored when calculating the size

Deprecated

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 #GtkStack instead to hide widgets while still having their size taken into account.