Class TabItem

Common tab header widget. It may have a title, an icon, and a close button.

class TabItem
  : TabItemBase

Constructors

NameDescription
this ()

Fields

TypeNameDescription
string
iconID Tab icon resource ID
void delegate()
onClose If assigned, the tab close button will be visible
dstring
text Tab title

1 inherited fields

Methods

NameDescription
build ()

6 inherited methods

Aliases

NameDescription
wrap

CSS nodes

TabItem
├── ImageWidget?.icon
├── Label?.label
╰── Button?.close