TachyonUI 0.1.0
High-performance UI for building tools.
Loading...
Searching...
No Matches
tachyon::TabBarOptions Struct Reference

What a tab bar offers besides its tabs. More...

#include <gui_controls/gui_docking_types.h>

Public Attributes

std::string_view closeLabel = "Close Panel"
 the item of a tab's context menu that closes it
bool listHidden = true
 "+N" after the tabs that fit lists the rest.
bool layoutMenu = true
 the context menus offer Collapse Rows / Multiple Rows
tachyon::ID dropArea = tachyon::ID::Invalid()
 An element around the bar (its row, say) that counts as the bar while a tab is dragged: in it the tab reorders, and only off it is it dragged out.

Detailed Description

What a tab bar offers besides its tabs.

Member Data Documentation

◆ closeLabel

std::string_view tachyon::TabBarOptions::closeLabel = "Close Panel"

the item of a tab's context menu that closes it

◆ listHidden

bool tachyon::TabBarOptions::listHidden = true

"+N" after the tabs that fit lists the rest.

Without it the caller lists them another way; what it adds after the tabs is left room for (TabBarMemory::trailingWidth).

◆ layoutMenu

bool tachyon::TabBarOptions::layoutMenu = true

the context menus offer Collapse Rows / Multiple Rows

◆ dropArea

tachyon::ID tachyon::TabBarOptions::dropArea = tachyon::ID::Invalid()

An element around the bar (its row, say) that counts as the bar while a tab is dragged: in it the tab reorders, and only off it is it dragged out.

Invalid: the bar.


The documentation for this struct was generated from the following file: