TabBar
Object Hierarchy:
Adw.TabBar
Adw.TabBar
Adw.TabBar
Gtk.Widget
Gtk.Widget
Gtk.Widget->Adw.TabBar
GLib.InitiallyUnowned
GLib.InitiallyUnowned
GLib.InitiallyUnowned->Gtk.Widget
GLib.Object
GLib.Object
GLib.Object->GLib.InitiallyUnowned
Gtk.Accessible
Gtk.Accessible
Gtk.Accessible->Adw.TabBar
Gtk.Accessible->Gtk.Widget
Gtk.Buildable
Gtk.Buildable
Gtk.Buildable->Adw.TabBar
Gtk.Buildable->Gtk.Widget
Gtk.ConstraintTarget
Gtk.ConstraintTarget
Gtk.ConstraintTarget->Adw.TabBar
Gtk.ConstraintTarget->Gtk.Widget
Description:
[ CCode ( type_id = "adw_tab_bar_get_type ()" ) ] [ Version ( since = "1.0" ) ]public sealed class TabBar : Widget , Accessible , Buildable , ConstraintTarget
A tab bar for [class@TabView].
<picture> <source srcset="tab-bar-dark.png" media="(prefers-color-scheme: dark)"> <img src="tab-bar.png" alt="tab-bar"
> </picture>
The `AdwTabBar` widget is a tab bar that can be used with conjunction with `AdwTabView`.
`AdwTabBar` can autohide and can optionally contain action widgets on both sides of the tabs.
When there's not enough space to show all the tabs, `AdwTabBar` will scroll them. Pinned tabs always stay visible and aren't a part of
the scrollable area.
CSS nodes
`AdwTabBar` has a single CSS node with name `tabbar`.
Content:
Properties:
public bool autohide { get ; set ; }
Whether the tabs automatically hide.
public Widget end_action_widget { get ; set ; }
The widget shown after the tabs.
public bool expand_tabs { get ; set ; }
Whether tabs expand to full width.
public bool inverted { get ; set ; }
Whether tabs use inverted layout.
public bool is_overflowing { get ; }
Whether the tab bar is overflowing.
public Widget start_action_widget { get ; set ; }
The widget shown before the tabs.
public bool tabs_revealed { get ; }
Whether the tabs are currently revealed.
public TabView view { get ; set ; }
The tab view the tab bar controls.
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
get_accessible_role
reset_property
reset_relation
reset_state
update_property
update_property_value
update_relation
update_relation_value
update_state
update_state_value
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