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() static nothrowGet builder for [gtk.stack_page.StackPage] Returns: New builder objectgtk.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.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.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.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 belongsstring getIconName() nothrowReturns the icon name of the page. Returns: The value of the [gtk.stack_page.StackPage.iconName] propertystring getName() nothrowReturns the name of the page. Returns: The value of the [gtk.stack_page.StackPage.name] propertybool 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] propertybool getUseUnderline() nothrowGets whether underlines in the page title indicate mnemonics. Returns: The value of the [gtk.stack_page.StackPage.useUnderline] propertyvoid setUseUnderline(bool setting) nothrowSets whether underlines in the page title indicate mnemonics.classStackPageGidBuilderImpl(T) : gobject.object.ObjectWrapGidBuilderImpl!T, gtk.accessible.AccessibleGidBuilderImpl!T
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 chainingT iconName(string propval) nothrowSet `iconName` property. Params: propval = The icon name of the child page. Returns: Builder instance for fluent chainingT name(string propval) nothrowSet `name` property. Params: propval = The name of the child page. Returns: Builder instance for fluent chainingT 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 chainingT useUnderline(bool propval) nothrowSet `useUnderline` property. Params: propval = If set, an underline in the title indicates a mnemonic. Returns: Builder instance for fluent chainingT visible(bool propval) nothrowSet `visible` property. Params: propval = Whether this page is visible. Returns: Builder instance for fluent chainingFluent builder for gtk.stack_page.StackPage