Gtk.Stack.set_visible_child_name

### Method

# Gtk Stackset_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`.

Sets property | `Gtk.Stack:visible-child-name`

#### Parameters

`name` | `const char*`
| The name of the child to make visible.
| The data is owned by the caller of the function.
| The value is a NUL terminated UTF-8 string.