adw.view_stack_page

Module for [ViewStackPage] class

Types 3

An auxiliary class used by class@ViewStack.

Methods
GType _gType() @property
ViewStackPage self()Returns `this`, for use in `with` statements.
ViewStackPageGidBuilder builder()Get builder for [adw.viewstackpage.ViewStackPage] Returns: New builder object
uint badgeNumber() @propertyGet `badgeNumber` property. Returns: The badge number for this page.
void badgeNumber(uint propval) @propertySet `badgeNumber` property. Params: propval = The badge number for this page.
gtk.widget.Widget child() @propertyGet `child` property. Returns: The stack child to which the page belongs.
string iconName() @propertyGet `iconName` property. Returns: The icon name of the child page.
void iconName(string propval) @propertySet `iconName` property. Params: propval = The icon name of the child page.
string name() @propertyGet `name` property. Returns: The name of the child page.
void name(string propval) @propertySet `name` property. Params: propval = The name of the child page.
bool needsAttention() @propertyGet `needsAttention` property. Returns: Whether the page requires the user attention.
void needsAttention(bool propval) @propertySet `needsAttention` property. Params: propval = Whether the page requires the user attention.
string title() @propertyGet `title` property. Returns: The title of the child page.
void title(string propval) @propertySet `title` property. Params: propval = The title of the child page.
bool useUnderline() @propertyGet `useUnderline` property. Returns: Whether an embedded underline in the title indicates a mnemonic.
void useUnderline(bool propval) @propertySet `useUnderline` property. Params: propval = Whether an embedded underline in the title indicates a mnemonic.
bool visible() @propertyGet `visible` property. Returns: Whether this page is visible.
void visible(bool propval) @propertySet `visible` property. Params: propval = Whether this page is visible.
uint getBadgeNumber()Gets the badge number for this page. Returns: the badge number for this page
gtk.widget.Widget getChild()Gets the stack child to which self belongs. Returns: the child to which self belongs
string getIconName()Gets the icon name of the page. Returns: the icon name of the page
string getName()Gets the name of the page. Returns: the name of the page
bool getNeedsAttention()Gets whether the page requires the user attention. Returns: whether the page needs attention
string getTitle()Gets the page title. Returns: the page title
bool getUseUnderline()Gets whether underlines in the page title indicate mnemonics. Returns: whether underlines in the page title indicate mnemonics
bool getVisible()Gets whether self is visible in its [adw.view_stack.ViewStack].
void setBadgeNumber(uint badgeNumber)Sets the badge number for this page.
void setIconName(string iconName = null)Sets the icon name of the page.
void setName(string name = null)Sets the name of the page.
void setNeedsAttention(bool needsAttention)Sets whether the page requires the user attention.
void setTitle(string title = null)Sets the page title.
void setUseUnderline(bool useUnderline)Sets whether underlines in the page title indicate mnemonics.
void setVisible(bool visible)Sets whether page is visible in its [adw.view_stack.ViewStack].
Constructors
this(void * ptr, Flag!"Take" take)
Methods
T badgeNumber(uint propval)Set `badgeNumber` property. Params: propval = The badge number for this page.
T child(gtk.widget.Widget propval)Set `child` property. Params: propval = The stack child to which the page belongs. Returns: Builder instance for fluent chaining
T iconName(string propval)Set `iconName` property. Params: propval = The icon name of the child page. Returns: Builder instance for fluent chaining
T name(string propval)Set `name` property. Params: propval = The name of the child page. Returns: Builder instance for fluent chaining
T needsAttention(bool propval)Set `needsAttention` property. Params: propval = Whether the page requires the user attention.
T title(string propval)Set `title` property. Params: propval = The title of the child page. Returns: Builder instance for fluent chaining
T useUnderline(bool propval)Set `useUnderline` property. Params: propval = Whether an embedded underline in the title indicates a mnemonic. Returns: Builder instance for fluent chaining
T visible(bool propval)Set `visible` property. Params: propval = Whether this page is visible.

Fluent builder for [adw.view_stack_page.ViewStackPage]