Method

GtkStackget_child_by_name

since: 3.12

Declaration [src]

GtkWidget*
gtk_stack_get_child_by_name (
  GtkStack* stack,
  const gchar* name
)

Description [src]

Finds the child of the GtkStack with the name given as the argument. Returns NULL if there is no child with this name.

Available since: 3.12

Parameters

name

Type: const gchar*

The name of the child to find.

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

Return value

Type: GtkWidget

The requested child of the GtkStack.

The returned data is owned by the instance.
The return value can be NULL.