Method

Adw.ViewStack.add_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.

Available since:1.0

Parameters

child GtkWidget*
 

the widget to add

 The data is owned by the caller of the function
name const char*
 

the name for child

 Can be NULL
 The data is owned by the caller of the function
 The string is a NUL terminated UTF-8 string

Return value

Returns: AdwViewStackPage

the AdwViewStackPage for child

The data is owned by the called function