Class: Handy::TabBar
- Inherits:
-
Gtk::Bin
- Object
- Gtk::Bin
- Handy::TabBar
- Defined in:
- (unknown)
Instance Method Summary collapse
-
#autohide ⇒ Boolean
Gets whether the tabs automatically hide.
-
#autohide=(autohide) ⇒ Boolean
Whether tabs automatically hide.
-
#autohide? ⇒ Boolean
Whether tabs automatically hide.
-
#end_action_widget ⇒ Gtk::Widget
The widget shown after the tabs.
-
#end_action_widget=(end_action_widget) ⇒ Gtk::Widget
The widget shown after the tabs.
-
#expand_tabs ⇒ Boolean
Gets whether tabs should expand.
-
#expand_tabs=(expand_tabs) ⇒ Boolean
Whether tabs should expand.
-
#expand_tabs? ⇒ Boolean
Whether tabs should expand.
-
#extra_drag_dest_targets ⇒ Gtk::TargetList
Extra drag destination targets.
-
#extra_drag_dest_targets=(extra_drag_dest_targets) ⇒ Gtk::TargetList
Extra drag destination targets.
-
#initialize ⇒ Handy::TabBar
constructor
Creates a new
HdyTabBarwidget. -
#inverted ⇒ Boolean
Gets whether tabs use inverted layout.
-
#inverted=(inverted) ⇒ Boolean
Whether tabs use inverted layout.
-
#inverted? ⇒ Boolean
Whether tabs use inverted layout.
-
#is_overflowing ⇒ Boolean
Gets whether self is overflowing.
-
#is_overflowing=(is_overflowing) ⇒ Boolean
Whether the tab bar is overflowing.
-
#is_overflowing? ⇒ Boolean
Whether the tab bar is overflowing.
-
#start_action_widget ⇒ Gtk::Widget
The widget shown before the tabs.
-
#start_action_widget=(start_action_widget) ⇒ Gtk::Widget
The widget shown before the tabs.
-
#tabs_revealed ⇒ Boolean
Gets the value of the [propertyTabBar:tabs-revealed] property.
-
#tabs_revealed=(tabs_revealed) ⇒ Boolean
Whether tabs are currently revealed.
-
#tabs_revealed? ⇒ Boolean
Whether tabs are currently revealed.
-
#view ⇒ Handy::TabView
The [classTabView] the tab bar controls.
-
#view=(view) ⇒ Handy::TabView
The [classTabView] the tab bar controls.
Constructor Details
#initialize ⇒ Handy::TabBar
Creates a new HdyTabBar widget.
Instance Method Details
#autohide ⇒ Boolean
Gets whether the tabs automatically hide.
#autohide=(autohide) ⇒ Boolean
Whether tabs automatically hide.
If set to TRUE, the tab bar disappears when the associated
[classTabView] has 0 or 1 tab, no pinned tabs, and no tab is being
transferred.
See [propertyTabBar:tabs-revealed].
#autohide? ⇒ Boolean
Whether tabs automatically hide.
If set to TRUE, the tab bar disappears when the associated
[classTabView] has 0 or 1 tab, no pinned tabs, and no tab is being
transferred.
See [propertyTabBar:tabs-revealed].
#end_action_widget ⇒ Gtk::Widget
The widget shown after the tabs.
#end_action_widget=(end_action_widget) ⇒ Gtk::Widget
The widget shown after the tabs.
#expand_tabs ⇒ Boolean
Gets whether tabs should expand.
#expand_tabs=(expand_tabs) ⇒ Boolean
Whether tabs should expand.
If set to TRUE, the tabs will always vary width filling the whole width
when possible, otherwise tabs will always have the minimum possible size.
#expand_tabs? ⇒ Boolean
Whether tabs should expand.
If set to TRUE, the tabs will always vary width filling the whole width
when possible, otherwise tabs will always have the minimum possible size.
#extra_drag_dest_targets ⇒ Gtk::TargetList
Extra drag destination targets.
Allows to drag arbitrary content onto tabs, for example URLs in a web browser.
If a tab is hovered for a certain period of time while dragging the content, it will be automatically selected.
After content is dropped, the [signalTabBar::extra-drag-data-received] signal can be used to retrieve and process the drag data.
#extra_drag_dest_targets=(extra_drag_dest_targets) ⇒ Gtk::TargetList
Extra drag destination targets.
Allows to drag arbitrary content onto tabs, for example URLs in a web browser.
If a tab is hovered for a certain period of time while dragging the content, it will be automatically selected.
After content is dropped, the [signalTabBar::extra-drag-data-received] signal can be used to retrieve and process the drag data.
#inverted ⇒ Boolean
Gets whether tabs use inverted layout.
#inverted=(inverted) ⇒ Boolean
Whether tabs use inverted layout.
If set to TRUE, non-pinned tabs will have the close button at the
beginning and the indicator at the end rather than the opposite.
#inverted? ⇒ Boolean
Whether tabs use inverted layout.
If set to TRUE, non-pinned tabs will have the close button at the
beginning and the indicator at the end rather than the opposite.
#is_overflowing ⇒ Boolean
Gets whether self is overflowing.
#is_overflowing=(is_overflowing) ⇒ Boolean
Whether the tab bar is overflowing.
If set to TRUE, all tabs cannot be displayed at once and require
scrolling.
#is_overflowing? ⇒ Boolean
Whether the tab bar is overflowing.
If set to TRUE, all tabs cannot be displayed at once and require
scrolling.
#start_action_widget ⇒ Gtk::Widget
The widget shown before the tabs.
#start_action_widget=(start_action_widget) ⇒ Gtk::Widget
The widget shown before the tabs.
#tabs_revealed ⇒ Boolean
Gets the value of the [propertyTabBar:tabs-revealed] property.
#tabs_revealed=(tabs_revealed) ⇒ Boolean
Whether tabs are currently revealed.
See [propertyTabBar:autohide].
#tabs_revealed? ⇒ Boolean
Whether tabs are currently revealed.
See [propertyTabBar:autohide].
#view ⇒ Handy::TabView
The [classTabView] the tab bar controls.
#view=(view) ⇒ Handy::TabView
The [classTabView] the tab bar controls.