gtk.stack_page

Module for [StackPage] class

Types 3

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

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

Fluent builder for [gtk.stack_page.StackPage]

Methods