Method

GtkStackset_visible_child_name

Declaration [src]

void
gtk_stack_set_visible_child_name (
  GtkStack* stack,
  const char* name
)

Description [src]

Makes the child with the given name visible.

If child is different from the currently visible child, the transition between the two will be animated with the current transition type of stack.

Note that the child widget has to be visible itself (see gtk_widget_show()) in order to become the visible child of stack.

Parameters

name

Type: const char*

The name of the child to make visible.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.