Method
AdwViewStackadd_titled_with_icon
Declaration [src]
AdwViewStackPage*
adw_view_stack_add_titled_with_icon (
AdwViewStack* self,
GtkWidget* child,
const char* name,
const char* title,
const char* icon_name
)
Description [src]
Adds a child to self.
The child is identified by the name. The title and icon_name will be used
by AdwViewSwitcher to represent child.
| Available since: | 1.2 |
Parameters
child |
GtkWidget |
The widget to add. |
|
| The data is owned by the caller of the function. | |
name |
const char* |
The name for |
|
The argument can be NULL. | |
| The data is owned by the caller of the function. | |
| The value is a NUL terminated UTF-8 string. | |
title |
const char* |
A human-readable title for |
|
| The data is owned by the caller of the function. | |
| The value is a NUL terminated UTF-8 string. | |
icon_name |
const char* |
An icon name for |
|
| The data is owned by the caller of the function. | |
| The value is a NUL terminated UTF-8 string. |
Return value
| Returns: | AdwViewStackPage |
The |
|
| The data is owned by the instance. |