Method

GtkStackadd_titled

since: 3.10

Declaration [src]

void
gtk_stack_add_titled (
  GtkStack* stack,
  GtkWidget* child,
  const gchar* name,
  const gchar* title
)

Description [src]

Adds a child to stack. The child is identified by the name. The title will be used by GtkStackSwitcher to represent child in a tab bar, so it should be short.

Available since: 3.10

Parameters

child

Type: GtkWidget

The widget to add.

The data is owned by the caller of the method.
name

Type: const gchar*

The name for child.

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

Type: const gchar*

A human-readable title for child.

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