adw.view_stack_page
Module for [ViewStackPage] class
Types 3
An auxiliary class used by class@ViewStack.
Methods
ViewStackPage self()Returns `this`, for use in `with` statements.ViewStackPageGidBuilder builder()Get builder for [adw.viewstackpage.ViewStackPage] Returns: New builder objectvoid badgeNumber(uint propval) @propertySet `badgeNumber` property. Params: propval = The badge number for this page.gtk.widget.Widget child() @propertyGet `child` property. Returns: The stack child to which the page belongs.void 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: Whether an embedded underline in the title indicates a mnemonic.void useUnderline(bool propval) @propertySet `useUnderline` property. Params: propval = Whether an embedded underline in the title indicates a mnemonic.void visible(bool propval) @propertySet `visible` property. Params: propval = Whether this page is visible.uint getBadgeNumber()Gets the badge number for this page. Returns: the badge number for this pagegtk.widget.Widget getChild()Gets the stack child to which self belongs. Returns: the child to which self belongsstring getIconName()Gets the icon name of the page. Returns: the icon name of the pagestring getName()Gets the name of the page. Returns: the name of the pagebool getNeedsAttention()Gets whether the page requires the user attention. Returns: whether the page needs attentionstring getTitle()Gets the page title. Returns: the page titlebool getUseUnderline()Gets whether underlines in the page title indicate mnemonics. Returns: whether underlines in the page title indicate mnemonicsbool getVisible()Gets whether self is visible in its [adw.view_stack.ViewStack].void setBadgeNumber(uint badgeNumber)Sets the badge number for this page.void setIconName(string iconName = null)Sets the icon name of the page.void setName(string name = null)Sets the name of the page.void setNeedsAttention(bool needsAttention)Sets whether the page requires the user attention.void setTitle(string title = null)Sets the page title.void setUseUnderline(bool useUnderline)Sets whether underlines in the page title indicate mnemonics.void setVisible(bool visible)Sets whether page is visible in its [adw.view_stack.ViewStack].classViewStackPageGidBuilderImpl(T) : gobject.object.ObjectWrapGidBuilderImpl!T, gtk.accessible.AccessibleGidBuilderImpl!T
Methods
T badgeNumber(uint propval)Set `badgeNumber` property. Params: propval = The badge number for this page.T child(gtk.widget.Widget propval)Set `child` property. Params: propval = The stack child to which the page belongs. 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 = Whether an embedded 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.Fluent builder for [adw.view_stack_page.ViewStackPage]
Methods