Class

HandyTabBar

Description [src]

final class Handy.TabBar : Gtk.Bin {
  /* No available fields */
}

A tab bar for HdyTabView.

The HdyTabBar widget is a tab bar that can be used with conjunction with HdyTabView.

HdyTabBar 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, HdyTabBar will scroll them. Pinned tabs always stay visible and aren’t a part of the scrollable area.

CSS nodes

HdyTabBar has a single CSS node with name tabbar.

Available since:1.2

Ancestors

  • GtkBin
  • GtkContainer
  • GtkWidget
  • GInitiallyUnowned
  • GObject

Implements

  • AtkImplementorIface
  • GtkBuildable

Constructors

hdy_tab_bar_new

Creates a new HdyTabBar widget.

Available since: 1.2

Instance methods

hdy_tab_bar_get_autohide

Gets whether the tabs automatically hide.

Available since: 1.2

hdy_tab_bar_get_end_action_widget

Gets the widget shown after the tabs.

Available since: 1.2

hdy_tab_bar_get_expand_tabs

Gets whether tabs should expand.

Available since: 1.2

hdy_tab_bar_get_extra_drag_dest_targets

Gets extra drag destination targets.

Available since: 1.2

hdy_tab_bar_get_inverted

Gets whether tabs use inverted layout.

Available since: 1.2

hdy_tab_bar_get_is_overflowing

Gets whether self is overflowing.

Available since: 1.2

hdy_tab_bar_get_start_action_widget

Gets the widget shown before the tabs.

Available since: 1.2

hdy_tab_bar_get_tabs_revealed

Gets the value of the HdyTabBar:tabs-revealed property.

Available since: 1.2

hdy_tab_bar_get_view

Gets the HdyTabView self controls.

Available since: 1.2

hdy_tab_bar_set_autohide

Sets whether the tabs automatically hide.

Available since: 1.2

hdy_tab_bar_set_end_action_widget

Sets the widget to show after the tabs.

Available since: 1.2

hdy_tab_bar_set_expand_tabs

Sets whether tabs should expand.

Available since: 1.2

hdy_tab_bar_set_extra_drag_dest_targets

Sets extra drag destination targets.

Available since: 1.2

hdy_tab_bar_set_inverted

Sets whether tabs tabs use inverted layout.

Available since: 1.2

hdy_tab_bar_set_start_action_widget

Sets the widget to show before the tabs.

Available since: 1.2

hdy_tab_bar_set_view

Sets the HdyTabView self controls.

Available since: 1.2

Properties

Handy.TabBar:autohide

Whether tabs automatically hide.

Available since: 1.2

Handy.TabBar:end-action-widget

The widget shown after the tabs.

Available since: 1.2

Handy.TabBar:expand-tabs

Whether tabs should expand.

Available since: 1.2

Handy.TabBar:extra-drag-dest-targets

Extra drag destination targets.

Available since: 1.2

Handy.TabBar:inverted

Whether tabs use inverted layout.

Available since: 1.2

Handy.TabBar:is-overflowing

Whether the tab bar is overflowing.

Available since: 1.2

Handy.TabBar:start-action-widget

The widget shown before the tabs.

Available since: 1.2

Handy.TabBar:tabs-revealed

Whether tabs are currently revealed.

Available since: 1.2

Handy.TabBar:view

The HdyTabView the tab bar controls.

Available since: 1.2

Signals

Handy.TabBar::extra-drag-data-received

Emitted when content allowed via HdyTabBar:extra-drag-dest-targets is dropped onto a tab.

Available since: 1.2

Class structure

struct HandyTabBarClass {
  GtkBinClass parent_class;
  
}
Class members
parent_class
GtkBinClass
  No description available.