TabPage
Object Hierarchy:
Description:
An auxiliary class used by [class@TabView].
Namespace: Adw
Package: libadwaita-1
Content:
Properties:
- public Widget child { get; construct; }
The child of the page.
- public Icon icon { get; set; }
The icon of the page.
- public bool indicator_activatable { get; set; }
Whether the indicator icon is activatable.
- public Icon indicator_icon { get; set; }
An indicator icon for the page.
- public string indicator_tooltip { get; set; }
The tooltip of the indicator icon.
- public string keyword { get; set; }
The search keyboard of the page.
- public bool live_thumbnail { get; set; }
Whether to enable live thumbnail for this page.
- public bool loading { get; set; }
Whether the page is loading.
- public bool needs_attention { get; set; }
Whether the page needs attention.
- public TabPage parent { get; construct; }
The parent page of the page.
- public bool pinned { get; }
Whether the page is pinned.
- public bool selected { get; }
Whether the page is selected.
- public float thumbnail_xalign { get; set; }
The horizontal alignment of the page thumbnail.
- public float thumbnail_yalign { get; set; }
The vertical alignment of the page thumbnail.
- public string title { get; set; }
The title of the page.
- public string tooltip { get; set; }
The tooltip of the page.
Creation methods:
- protected TabPage ()
Methods:
- public unowned Widget get_child ()
Gets the child of this.
- public unowned Icon? get_icon ()
Gets the icon of this.
- public bool get_indicator_activatable ()
Gets whether the indicator of this is activatable.
- public unowned Icon? get_indicator_icon ()
Gets the indicator icon of this.
- public unowned string get_indicator_tooltip ()
Gets the tooltip of the indicator icon of this .
- public unowned string? get_keyword ()
Gets the search keyword of this.
- public bool get_live_thumbnail ()
Gets whether to live thumbnail is enabled this .
- public bool get_loading ()
Gets whether this is loading.
- public bool get_needs_attention ()
Gets whether this needs attention.
- public unowned TabPage? get_parent ()
Gets the parent page of this.
- public bool get_pinned ()
Gets whether this is pinned.
- public bool get_selected ()
Gets whether this is selected.
- public float get_thumbnail_xalign ()
Gets the horizontal alignment of the thumbnail for this.
- public float get_thumbnail_yalign ()
Gets the vertical alignment of the thumbnail for this.
- public unowned string get_title ()
Gets the title of this.
- public unowned string? get_tooltip ()
Gets the tooltip of this.
- public void invalidate_thumbnail ()
Invalidates thumbnail for this.
- public void set_icon (Icon? icon)
Sets the icon of this.
- public void set_indicator_activatable (bool activatable)
Sets whether the indicator of this is activatable.
- public void set_indicator_icon (Icon? indicator_icon)
Sets the indicator icon of this.
- public void set_indicator_tooltip (string tooltip)
Sets the tooltip of the indicator icon of this .
- public void set_keyword (string keyword)
Sets the search keyword for this.
- public void set_live_thumbnail (bool live_thumbnail)
Sets whether to enable live thumbnail for this .
- public void set_loading (bool loading)
Sets whether this is loading.
- public void set_needs_attention (bool needs_attention)
Sets whether this needs attention.
- public void set_thumbnail_xalign (float xalign)
Sets the horizontal alignment of the thumbnail for this.
- public void set_thumbnail_yalign (float yalign)
Sets the vertical alignment of the thumbnail for this.
- public void set_title (string title)
[class@TabBar] will display it in the center of the tab unless it's pinned, and will use it as a tooltip unless [property@TabPage:tooltip] is set.
- public void set_tooltip (string tooltip)
Sets the tooltip of this.
Inherited Members:
All known members inherited from class GLib.Object
All known members inherited from interface Gtk.Accessible