adw.tab_page

Module for [TabPage] class

Types 3

An auxiliary class used by adw.tab_view.TabView.

Methods
GType _getGType() static nothrow
GType _gType() @property nothrow
TabPage self() nothrowReturns `this`, for use in `with` statements.
TabPageGidBuilder builder() static nothrowGet builder for [adw.tab_page.TabPage] Returns: New builder object
gtk.widget.Widget child() @property nothrowGet `child` property. Returns: The child of the page.
gio.icon.Icon icon() @property nothrowGet `icon` property. Returns: The icon of the page.
void 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.
string keyword() @property nothrowGet `keyword` property. Returns: The search keyboard of the page.
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.
bool loading() @property nothrowGet `loading` property. Returns: Whether the page is loading.
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.
bool pinned() @property nothrowGet `pinned` property. Returns: Whether the page is pinned.
bool selected() @property nothrowGet `selected` property. Returns: Whether the page is selected.
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.
string title() @property nothrowGet `title` property. Returns: The title of the page.
void title(string propval) @property nothrowSet `title` property. Params: propval = The title of the page.
string tooltip() @property nothrowGet `tooltip` property. Returns: The tooltip of the page.
void tooltip(string propval) @property nothrowSet `tooltip` property. Params: propval = The tooltip of the page.
gtk.widget.Widget getChild() nothrowGets the child of self. Returns: the child of self
gio.icon.Icon getIcon() nothrowGets the icon of self. Returns: the icon of self
bool getIndicatorActivatable() nothrowGets whether the indicator of self is activatable. Returns: whether the indicator is activatable
gio.icon.Icon getIndicatorIcon() nothrowGets the indicator icon of self. Returns: the indicator icon of self
string getIndicatorTooltip() nothrowGets the tooltip of the indicator icon of self. Returns: the indicator tooltip of self
string getKeyword() nothrowGets the search keyword of self. Returns: the search keyword of self
bool getLiveThumbnail() nothrowGets whether to live thumbnail is enabled self. Returns: whether live thumbnail is enabled
bool getLoading() nothrowGets whether self is loading. Returns: whether self is loading
bool getNeedsAttention() nothrowGets whether self needs attention. Returns: whether self needs attention
adw.tab_page.TabPage getParent() nothrowGets the parent page of self.
bool getPinned() nothrowGets whether self is pinned.
bool getSelected() nothrowGets whether self is selected. Returns: whether self is selected
float getThumbnailXalign() nothrowGets the horizontal alignment of the thumbnail for self. Returns: the horizontal alignment
float getThumbnailYalign() nothrowGets the vertical alignment of the thumbnail for self. Returns: the vertical alignment
string getTitle() nothrowGets the title of self. Returns: the title of self
string getTooltip() nothrowGets the tooltip of self. Returns: the tooltip of self
void invalidateThumbnail() nothrowInvalidates thumbnail for self.
void setIcon(gio.icon.Icon icon = null) nothrowSets the icon of self.
void setIndicatorActivatable(bool activatable) nothrowSets whether the indicator of self is activatable.
void setIndicatorIcon(gio.icon.Icon indicatorIcon = null) nothrowSets the indicator icon of self.
void setIndicatorTooltip(string tooltip) nothrowSets the tooltip of the indicator icon of self.
void setKeyword(string keyword) nothrowSets the search keyword for self.
void setLiveThumbnail(bool liveThumbnail) nothrowSets whether to enable live thumbnail for self.
void setLoading(bool loading) nothrowSets whether self is loading.
void setNeedsAttention(bool needsAttention) nothrowSets whether self needs attention.
void setThumbnailXalign(float xalign) nothrowSets the horizontal alignment of the thumbnail for self.
void setThumbnailYalign(float yalign) nothrowSets the vertical 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.
void setTooltip(string tooltip) nothrowSets the tooltip of self.
Constructors
this(void * ptr, Flag!"Take" take)

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 chaining
T icon(gio.icon.Icon propval) nothrowSet `icon` property. Params: propval = The icon of the page.
T 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.
T title(string propval) nothrowSet `title` property. Params: propval = The title of the page.
T tooltip(string propval) nothrowSet `tooltip` property. Params: propval = The tooltip of the page.

Fluent builder for adw.tab_page.TabPage

Methods
TabPage build() nothrowCreate object from builder. Returns: New object