Method

AdwViewStackadd_named

Declaration [src]

AdwViewStackPage*
adw_view_stack_add_named (
  AdwViewStack* self,
  GtkWidget* child,
  const char* name
)

Description [src]

Adds a child to self.

The child is identified by the name.

Parameters

child

Type: GtkWidget

The widget to add.

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

Type: const char*

The name for child.

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

Return value

Type: AdwViewStackPage

The AdwViewStackPage for child.

The returned data is owned by the instance.