TabPage
Object Hierarchy:
Description:
[ CCode ( type_id = "adw_tab_page_get_type ()" ) ]
public sealed class TabPage : Object, Accessible
An auxiliary class used by [class@TabView].
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:
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
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref
All known members inherited from interface Gtk.Accessible
- accessible_role
- announce
- get_accessible_parent
- get_accessible_role
- get_at_context
- get_bounds
- get_first_accessible_child
- get_next_accessible_sibling
- get_platform_state
- reset_property
- reset_relation
- reset_state
- set_accessible_parent
- update_next_accessible_sibling
- update_property
- update_property_value
- update_relation
- update_relation_value
- update_state
- update_state_value