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`.


Namespace: Adw
Package: libadwaita-1

Content:

Properties:

Creation methods:

Methods:

Signals:

Inherited Members:

All known members inherited from class Gtk.Widget
All known members inherited from class GLib.Object
All known members inherited from interface Gtk.Accessible
All known members inherited from interface Gtk.Buildable



2022 vala-language.org