gtk.stack_page

Module for [StackPage] class

Types 3

gtk.stack_page.StackPage is an auxiliary class used by gtk.stack.Stack.

Methods
GType _getGType() static nothrow
GType _gType() @property nothrow
StackPage self() nothrowReturns `this`, for use in `with` statements.
StackPageGidBuilder builder() static nothrowGet builder for [gtk.stack_page.StackPage] Returns: New builder object
gtk.widget.Widget child() @property nothrowGet `child` property. Returns: The child that this page is for.
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: If set, an underline in the title indicates a mnemonic.
void useUnderline(bool propval) @property nothrowSet `useUnderline` property. Params: propval = If set, an 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.
gtk.widget.Widget getChild() nothrowReturns the stack child to which self belongs. Returns: the child to which self belongs
string getIconName() nothrowReturns the icon name of the page. Returns: The value of the [gtk.stack_page.StackPage.iconName] property
string getName() nothrowReturns the name of the page. Returns: The value of the [gtk.stack_page.StackPage.name] property
bool getNeedsAttention() nothrowReturns whether the page is marked as “needs attention”. Returns: The value of the [gtk.stack_page.StackPage.needsAttention] property.
string getTitle() nothrowGets the page title. Returns: The value of the [gtk.stack_page.StackPage.title] property
bool getUseUnderline() nothrowGets whether underlines in the page title indicate mnemonics. Returns: The value of the [gtk.stack_page.StackPage.useUnderline] property
bool getVisible() nothrowReturns whether page is visible in its [gtk.stack.Stack].
void setIconName(string setting) nothrowSets the icon name of the page.
void setName(string setting) nothrowSets the name of the page.
void setNeedsAttention(bool setting) nothrowSets whether the page is marked as “needs attention”.
void setTitle(string setting) nothrowSets the page title.
void setUseUnderline(bool setting) nothrowSets whether underlines in the page title indicate mnemonics.
void setVisible(bool visible) nothrowSets whether page is visible in its [gtk.stack.Stack].
Constructors
this(void * ptr, Flag!"Take" take)

Fluent builder implementation template for gtk.stack_page.StackPage

Methods
T child(gtk.widget.Widget propval) nothrowSet `child` property. Params: propval = The child that this page is for. 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 = If set, an 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. Returns: Builder instance for fluent chaining

Fluent builder for gtk.stack_page.StackPage

Methods
StackPage build() nothrowCreate object from builder. Returns: New object