adw.view_stack_page

Module for [ViewStackPage] class

Types 3

An auxiliary class used by adw.view_stack.ViewStack.

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

Fluent builder implementation template for adw.view_stack_page.ViewStackPage

Methods
T badgeNumber(uint propval) nothrowSet `badgeNumber` property. Params: propval = The badge number for this page.
T child(gtk.widget.Widget propval) nothrowSet `child` property. Params: propval = The stack child to which the page belongs. Returns: Builder instance for fluent chaining
T iconName(string propval) nothrowSet `iconName` property. Params: propval = The icon name of the child page. Returns: Builder instance for fluent chaining
T name(string propval) nothrowSet `name` property. Params: propval = The name of the child page. Returns: Builder instance for fluent chaining
T needsAttention(bool propval) nothrowSet `needsAttention` property. Params: propval = Whether the page requires the user attention.
T title(string propval) nothrowSet `title` property. Params: propval = The title of the child page. Returns: Builder instance for fluent chaining
T useUnderline(bool propval) nothrowSet `useUnderline` property. Params: propval = Whether an embedded underline in the title indicates a mnemonic. Returns: Builder instance for fluent chaining
T visible(bool propval) nothrowSet `visible` property. Params: propval = Whether this page is visible.
Methods
ViewStackPage build() nothrowCreate object from builder. Returns: New object