Method

GtkSizeGroupset_ignore_hidden

deprecated: 3.22 since: 2.8

Declaration [src]

void
gtk_size_group_set_ignore_hidden (
  GtkSizeGroup* size_group,
  gboolean ignore_hidden
)

Description [src]

Sets whether unmapped widgets should be 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.

Parameters

ignore_hidden

Type: gboolean

Whether unmapped widgets should be ignored when calculating the size.