TabButton
Object Hierarchy:
Adw.TabButton
Adw.TabButton
Adw.TabButton
Gtk.Widget
Gtk.Widget
Gtk.Widget->Adw.TabButton
GLib.InitiallyUnowned
GLib.InitiallyUnowned
GLib.InitiallyUnowned->Gtk.Widget
GLib.Object
GLib.Object
GLib.Object->GLib.InitiallyUnowned
Gtk.Accessible
Gtk.Accessible
Gtk.Accessible->Adw.TabButton
Gtk.Accessible->Gtk.Widget
Gtk.Buildable
Gtk.Buildable
Gtk.Buildable->Adw.TabButton
Gtk.Buildable->Gtk.Widget
Gtk.ConstraintTarget
Gtk.ConstraintTarget
Gtk.ConstraintTarget->Adw.TabButton
Gtk.ConstraintTarget->Gtk.Widget
Gtk.Actionable
Gtk.Actionable
Gtk.Actionable->Adw.TabButton
Description:
[ CCode ( type_id = "adw_tab_button_get_type ()" ) ] [ Version ( since = "1.3" ) ]public sealed class TabButton : Widget , Accessible , Actionable , Buildable , ConstraintTarget
A button that displays the number of [class@TabView] pages.
<picture> <source srcset="tab-button-dark.png" media="(prefers-color-scheme: dark)"> <img src="tab-button.png"
alt="tab-button"> </picture>
`AdwTabButton` is a button that displays the number of pages in a given `AdwTabView`, as well as whether one of the inactive pages needs
attention.
It's intended to be used as a visible indicator when there's no visible tab bar, typically opening an [class@TabOverview] on click, e.g.
via the `overview.open` action name:
```xml <object class="AdwTabButton"> <property name="view">view</property> <property name="action-name">
overview.open</property> </object> ```
CSS nodes
`AdwTabButton` has a main CSS node with name `tabbutton`.
Accessibility
`AdwTabButton` uses the `GTK_ACCESSIBLE_ROLE_BUTTON` role.
Content:
Properties:
Creation methods:
Methods:
Signals:
Inherited Members:
All known members inherited from class Gtk.Widget
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
All known members inherited from interface Gtk.Actionable
action_name
action_target
get_action_name
get_action_target_value
set_action_name
set_action_target
set_action_target_value
set_detailed_action_name
All known members inherited from interface Gtk.Buildable
add_child
custom_finished
custom_tag_end
custom_tag_start
get_buildable_id
get_id
get_internal_child
parser_finished
set_buildable_property
set_id