Stack.addTitled

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.

class Stack
addTitled
(,
string name
,
string title
)

Parameters

child Widget

the widget to add

name string

the name for @child

title string

a human-readable title for @child

Return Value

Type: StackPage

the GtkStackPage for @child

Meta