adw.tab_page
Module for [TabPage] class
Types 3
An auxiliary class used by class@TabView.
Methods
TabPageGidBuilder builder()Get builder for [adw.tab_page.TabPage] Returns: New builder objectvoid icon(gio.icon.Icon propval) @propertySet `icon` property. Params: propval = The icon of the page.bool indicatorActivatable() @propertyGet `indicatorActivatable` property. Returns: Whether the indicator icon is activatable.void indicatorActivatable(bool propval) @propertySet `indicatorActivatable` property. Params: propval = Whether the indicator icon is activatable.gio.icon.Icon indicatorIcon() @propertyGet `indicatorIcon` property. Returns: An indicator icon for the page.void indicatorIcon(gio.icon.Icon propval) @propertySet `indicatorIcon` property. Params: propval = An indicator icon for the page.string indicatorTooltip() @propertyGet `indicatorTooltip` property. Returns: The tooltip of the indicator icon.void indicatorTooltip(string propval) @propertySet `indicatorTooltip` property. Params: propval = The tooltip of the indicator icon.void keyword(string propval) @propertySet `keyword` property. Params: propval = The search keyboard of the page.bool liveThumbnail() @propertyGet `liveThumbnail` property. Returns: Whether to enable live thumbnail for this page.void liveThumbnail(bool propval) @propertySet `liveThumbnail` property. Params: propval = Whether to enable live thumbnail for this page.void loading(bool propval) @propertySet `loading` property. Params: propval = Whether the page is loading.bool needsAttention() @propertyGet `needsAttention` property. Returns: Whether the page needs attention.void needsAttention(bool propval) @propertySet `needsAttention` property. Params: propval = Whether the page needs attention.float thumbnailXalign() @propertyGet `thumbnailXalign` property. Returns: The horizontal alignment of the page thumbnail.void thumbnailXalign(float propval) @propertySet `thumbnailXalign` property. Params: propval = The horizontal alignment of the page thumbnail.float thumbnailYalign() @propertyGet `thumbnailYalign` property. Returns: The vertical alignment of the page thumbnail.void thumbnailYalign(float propval) @propertySet `thumbnailYalign` property. Params: propval = The vertical alignment of the page thumbnail.void tooltip(string propval) @propertySet `tooltip` property. Params: propval = The tooltip of the page.gtk.widget.Widget getChild()Gets the child of self. Returns: the child of selfgio.icon.Icon getIcon()Gets the icon of self. Returns: the icon of selfbool getIndicatorActivatable()Gets whether the indicator of self is activatable. Returns: whether the indicator is activatablegio.icon.Icon getIndicatorIcon()Gets the indicator icon of self. Returns: the indicator icon of selfstring getIndicatorTooltip()Gets the tooltip of the indicator icon of self. Returns: the indicator tooltip of selfstring getKeyword()Gets the search keyword of self. Returns: the search keyword of selfbool getLiveThumbnail()Gets whether to live thumbnail is enabled self. Returns: whether live thumbnail is enabledbool getLoading()Gets whether self is loading. Returns: whether self is loadingbool getNeedsAttention()Gets whether self needs attention. Returns: whether self needs attentionadw.tab_page.TabPage getParent()Gets the parent page of self.bool getPinned()Gets whether self is pinned.bool getSelected()Gets whether self is selected. Returns: whether self is selectedfloat getThumbnailXalign()Gets the horizontal alignment of the thumbnail for self. Returns: the horizontal alignmentfloat getThumbnailYalign()Gets the vertical alignment of the thumbnail for self. Returns: the vertical alignmentstring getTitle()Gets the title of self. Returns: the title of selfstring getTooltip()Gets the tooltip of self. Returns: the tooltip of selfvoid invalidateThumbnail()Invalidates thumbnail for self.void setIcon(gio.icon.Icon icon = null)Sets the icon of self.void setIndicatorActivatable(bool activatable)Sets whether the indicator of self is activatable.void setIndicatorIcon(gio.icon.Icon indicatorIcon = null)Sets the indicator icon of self.void setIndicatorTooltip(string tooltip)Sets the tooltip of the indicator icon of self.void setKeyword(string keyword)Sets the search keyword for self.void setLiveThumbnail(bool liveThumbnail)Sets whether to enable live thumbnail for self.void setLoading(bool loading)Sets whether self is loading.void setNeedsAttention(bool needsAttention)Sets whether self needs attention.void setThumbnailXalign(float xalign)Sets the horizontal alignment of the thumbnail for self.void setThumbnailYalign(float yalign)Sets the vertical alignment of the thumbnail for self.void setTitle(string title)`classTabBar` will display it in the center of the tab unless it's pinned, and will use it as a tooltip unless `propertyTabPage:tooltip` is set.void setTooltip(string tooltip)Sets the tooltip of self.classTabPageGidBuilderImpl(T) : gobject.object.ObjectWrapGidBuilderImpl!T, gtk.accessible.AccessibleGidBuilderImpl!T
Methods
T child(gtk.widget.Widget propval)Set `child` property. Params: propval = The child of the page. Returns: Builder instance for fluent chainingT icon(gio.icon.Icon propval)Set `icon` property. Params: propval = The icon of the page.T indicatorActivatable(bool propval)Set `indicatorActivatable` property. Params: propval = Whether the indicator icon is activatable.T indicatorIcon(gio.icon.Icon propval)Set `indicatorIcon` property. Params: propval = An indicator icon for the page.T indicatorTooltip(string propval)Set `indicatorTooltip` property. Params: propval = The tooltip of the indicator icon.T keyword(string propval)Set `keyword` property. Params: propval = The search keyboard of the page.T liveThumbnail(bool propval)Set `liveThumbnail` property. Params: propval = Whether to enable live thumbnail for this page.T loading(bool propval)Set `loading` property. Params: propval = Whether the page is loading.T needsAttention(bool propval)Set `needsAttention` property. Params: propval = Whether the page needs attention.T parent(adw.tab_page.TabPage propval)Set `parent` property. Params: propval = The parent page of the page.T thumbnailXalign(float propval)Set `thumbnailXalign` property. Params: propval = The horizontal alignment of the page thumbnail.T thumbnailYalign(float propval)Set `thumbnailYalign` property. Params: propval = The vertical alignment of the page thumbnail.T title(string propval)Set `title` property. Params: propval = The title of the page.T tooltip(string propval)Set `tooltip` property. Params: propval = The tooltip of the page.