gtk.stack_page
Module for [StackPage] class
Types 3
[gtk.stack_page.StackPage] is an auxiliary class used by [gtk.stack.Stack].
Methods
StackPageGidBuilder builder()Get builder for [gtk.stack_page.StackPage] Returns: New builder objectvoid iconName(string propval) @propertySet `iconName` property. Params: propval = The icon 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.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.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 belongsstring getIconName()Returns the icon name of the page. Returns: The value of the `propertyGtk.StackPage:icon-name` propertystring getName()Returns the name of the page. Returns: The value of the [gtk.stack_page.StackPage.name] propertybool 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] propertybool getUseUnderline()Gets whether underlines in the page title indicate mnemonics. Returns: The value of the `propertyGtk.StackPage:use-underline` propertybool 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].classStackPageGidBuilderImpl(T) : gobject.object.ObjectWrapGidBuilderImpl!T, gtk.accessible.AccessibleGidBuilderImpl!T
Methods
T child(gtk.widget.Widget propval)Set `child` property. Params: propval = The child that this page is for. Returns: Builder instance for fluent chainingT iconName(string propval)Set `iconName` property. Params: propval = The icon name of the child page. Returns: Builder instance for fluent chainingT name(string propval)Set `name` property. Params: propval = The name of the child page. Returns: Builder instance for fluent chainingT 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 chainingT useUnderline(bool propval)Set `useUnderline` property. Params: propval = If set, an underline in the title indicates a mnemonic. Returns: Builder instance for fluent chainingT visible(bool propval)Set `visible` property. Params: propval = Whether this page is visible. Returns: Builder instance for fluent chaining