adw.tab_page
Module for [TabPage] class
Types 3
An auxiliary class used by adw.tab_view.TabView.
Methods
TabPageGidBuilder builder() static nothrowGet builder for [adw.tab_page.TabPage] Returns: New builder objectvoid icon(gio.icon.Icon propval) @property nothrowSet `icon` property. Params: propval = The icon of the page.bool indicatorActivatable() @property nothrowGet `indicatorActivatable` property. Returns: Whether the indicator icon is activatable.void indicatorActivatable(bool propval) @property nothrowSet `indicatorActivatable` property. Params: propval = Whether the indicator icon is activatable.gio.icon.Icon indicatorIcon() @property nothrowGet `indicatorIcon` property. Returns: An indicator icon for the page.void indicatorIcon(gio.icon.Icon propval) @property nothrowSet `indicatorIcon` property. Params: propval = An indicator icon for the page.string indicatorTooltip() @property nothrowGet `indicatorTooltip` property. Returns: The tooltip of the indicator icon.void indicatorTooltip(string propval) @property nothrowSet `indicatorTooltip` property. Params: propval = The tooltip of the indicator icon.void keyword(string propval) @property nothrowSet `keyword` property. Params: propval = The search keyboard of the page.bool liveThumbnail() @property nothrowGet `liveThumbnail` property. Returns: Whether to enable live thumbnail for this page.void liveThumbnail(bool propval) @property nothrowSet `liveThumbnail` property. Params: propval = Whether to enable live thumbnail for this page.void loading(bool propval) @property nothrowSet `loading` property. Params: propval = Whether the page is loading.bool needsAttention() @property nothrowGet `needsAttention` property. Returns: Whether the page needs attention.void needsAttention(bool propval) @property nothrowSet `needsAttention` property. Params: propval = Whether the page needs attention.adw.tab_page.TabPage parent() @property nothrowGet `parent` property. Returns: The parent page of the page.float thumbnailXalign() @property nothrowGet `thumbnailXalign` property. Returns: The horizontal alignment of the page thumbnail.void thumbnailXalign(float propval) @property nothrowSet `thumbnailXalign` property. Params: propval = The horizontal alignment of the page thumbnail.float thumbnailYalign() @property nothrowGet `thumbnailYalign` property. Returns: The vertical alignment of the page thumbnail.void thumbnailYalign(float propval) @property nothrowSet `thumbnailYalign` property. Params: propval = The vertical alignment of the page thumbnail.void title(string propval) @property nothrowSet `title` property. Params: propval = The title of the page.void tooltip(string propval) @property nothrowSet `tooltip` property. Params: propval = The tooltip of the page.bool getIndicatorActivatable() nothrowGets whether the indicator of self is activatable. Returns: whether the indicator is activatablegio.icon.Icon getIndicatorIcon() nothrowGets the indicator icon of self. Returns: the indicator icon of selfstring getIndicatorTooltip() nothrowGets the tooltip of the indicator icon of self. Returns: the indicator tooltip of selfbool getLiveThumbnail() nothrowGets whether to live thumbnail is enabled self. Returns: whether live thumbnail is enabledbool getNeedsAttention() nothrowGets whether self needs attention. Returns: whether self needs attentionfloat getThumbnailXalign() nothrowGets the horizontal alignment of the thumbnail for self. Returns: the horizontal alignmentfloat getThumbnailYalign() nothrowGets the vertical alignment of the thumbnail for self. Returns: the vertical alignmentvoid setIndicatorActivatable(bool activatable) nothrowSets whether the indicator of self is activatable.void setThumbnailXalign(float xalign) nothrowSets the horizontal alignment of the thumbnail for self.void setTitle(string title) nothrow[adw.tab_bar.TabBar] will display it in the center of the tab unless it's pinned, and will use it as a tooltip unless [adw.tab_page.TabPage.tooltip] is set.classTabPageGidBuilderImpl(T) : gobject.object.ObjectWrapGidBuilderImpl!T, gtk.accessible.AccessibleGidBuilderImpl!T
Fluent builder implementation template for adw.tab_page.TabPage
Methods
T child(gtk.widget.Widget propval) nothrowSet `child` property. Params: propval = The child of the page. Returns: Builder instance for fluent chainingT indicatorActivatable(bool propval) nothrowSet `indicatorActivatable` property. Params: propval = Whether the indicator icon is activatable.T indicatorIcon(gio.icon.Icon propval) nothrowSet `indicatorIcon` property. Params: propval = An indicator icon for the page.T indicatorTooltip(string propval) nothrowSet `indicatorTooltip` property. Params: propval = The tooltip of the indicator icon.T keyword(string propval) nothrowSet `keyword` property. Params: propval = The search keyboard of the page.T liveThumbnail(bool propval) nothrowSet `liveThumbnail` property. Params: propval = Whether to enable live thumbnail for this page.T loading(bool propval) nothrowSet `loading` property. Params: propval = Whether the page is loading.T needsAttention(bool propval) nothrowSet `needsAttention` property. Params: propval = Whether the page needs attention.T parent(adw.tab_page.TabPage propval) nothrowSet `parent` property. Params: propval = The parent page of the page.T thumbnailXalign(float propval) nothrowSet `thumbnailXalign` property. Params: propval = The horizontal alignment of the page thumbnail.T thumbnailYalign(float propval) nothrowSet `thumbnailYalign` property. Params: propval = The vertical alignment of the page thumbnail.Fluent builder for adw.tab_page.TabPage