Adw.TabBar
Description: Reference for Adw.TabBar

### Class

# AdwTabBar

#### Description [src]

    final class Adw.TabBar : Gtk.Widget {
      /* No available fields */
    }

A tab bar for `AdwTabView`.

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

Available since: | 1.0

#### Hierarchy

#### Ancestors

- GtkWidget
- GInitiallyUnowned
- GObject

#### Implements

- GtkAccessible
- GtkBuildable
- GtkConstraintTarget

#### Constructors

###### adw_tab_bar_new

Creates a new `AdwTabBar`.

Available since: 1.0

#### Instance methods

###### adw_tab_bar_get_autohide

Gets whether the tabs automatically hide.

Available since: 1.0

###### adw_tab_bar_get_end_action_widget

Gets the widget shown after the tabs.

Available since: 1.0

###### adw_tab_bar_get_expand_tabs

Gets whether tabs expand to full width.

Available since: 1.0

###### adw_tab_bar_get_inverted

Gets whether tabs use inverted layout.

Available since: 1.0

###### adw_tab_bar_get_is_overflowing

Gets whether `self` is overflowing.

Available since: 1.0

###### adw_tab_bar_get_start_action_widget

Gets the widget shown before the tabs.

Available since: 1.0

###### adw_tab_bar_get_tabs_revealed

Gets whether the tabs are currently revealed.

Available since: 1.0

###### adw_tab_bar_get_view

Gets the tab view `self` controls.

Available since: 1.0

###### adw_tab_bar_set_autohide

Sets whether the tabs automatically hide.

Available since: 1.0

###### adw_tab_bar_set_end_action_widget

Sets the widget to show after the tabs.

Available since: 1.0

###### adw_tab_bar_set_expand_tabs

Sets whether tabs expand to full width.

Available since: 1.0

###### adw_tab_bar_set_inverted

Sets whether tabs tabs use inverted layout.

Available since: 1.0

###### adw_tab_bar_set_start_action_widget

Sets the widget to show before the tabs.

Available since: 1.0

###### adw_tab_bar_set_view

Sets the tab view `self` controls.

Available since: 1.0

###### adw_tab_bar_setup_extra_drop_target

Sets the supported types for this drop target.

Available since: 1.0

##### Methods inherited from GtkWidget (159)

##### Methods inherited from GObject (43)

#### Properties

###### Adw.TabBar:autohide

Whether the tabs automatically hide.

Available since: 1.0

###### Adw.TabBar:end-action-widget

The widget shown after the tabs.

Available since: 1.0

###### Adw.TabBar:expand-tabs

Whether tabs expand to full width.

Available since: 1.0

###### Adw.TabBar:inverted

Whether tabs use inverted layout.

Available since: 1.0

###### Adw.TabBar:is-overflowing

Whether the tab bar is overflowing.

Available since: 1.0

###### Adw.TabBar:start-action-widget

The widget shown before the tabs.

Available since: 1.0

###### Adw.TabBar:tabs-revealed

Whether the tabs are currently revealed.

Available since: 1.0

###### Adw.TabBar:view

The tab view the tab bar controls.

Available since: 1.0

##### Properties inherited from GtkWidget (34)

#### Signals

###### Adw.TabBar::extra-drag-drop

This signal is emitted when content is dropped onto a tab.

Available since: 1.0

##### Signals inherited from GtkWidget (13)

##### Signals inherited from GObject (1)

#### Class structure

    struct AdwTabBarClass {
      GtkWidgetClass parent_class;

    }

###### Class members

`parent_class` |
    GtkWidgetClass
| No description available.