Method

GtkSizeGroupget_ignore_hidden

deprecated: 3.22 since: 2.8

Declaration [src]

gboolean
gtk_size_group_get_ignore_hidden (
  GtkSizeGroup* size_group
)

Description [src]

Returns if invisible widgets are ignored when calculating the size.

Available since: 2.8

Deprecated since: 3.22

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.

Return value

Type: gboolean

TRUE if invisible widgets are ignored.