Tui::TabbedPanel
Inherits Tui::Widget / Tui::Reactive / Reference / Object
Constructors
Instance methods
active_tab
Sourceactive_tab_bg
Sourceactive_tab_bg=(active_tab_bg : Color)
Sourceactive_tab_fg
Sourceactive_tab_fg=(active_tab_fg : Color)
Sourceactive_tab_id
Sourceadd_position(pos : TabPosition) : Nil
Sourceadd_tab(tab : Tab) : Nil
Sourceborder_color
Sourceborder_color=(border_color : Color)
Sourceborder_style
Sourceborder_style=(border_style : Panel::BorderStyle)
Sourcechevron_char
Sourceclose_active_tab
Sourceclose_overflow
Sourcecontent_bg
Sourcecontent_bg=(content_bg : Color)
Sourcecontent_fg
Sourcecontent_fg=(content_fg : Color)
SourceOverride find_widget_at to only consider active tab's content This prevents inactive tabs' stale rects from interfering with hit testing
focused_tab_bg
Sourcefocused_tab_bg=(focused_tab_bg : Color)
Sourcefocused_tab_fg
Sourcefocused_tab_fg=(focused_tab_fg : Color)
SourceHandle events using DOM-like capture/bubble model KeyEvents: handled when TabbedPanel is target (tab bar focused) MouseEvents: handled when click is on tab bar area Tab from content bubbles up - parent decides where focus goes
on_tab_close
Sourceon_tab_switch
Sourceoverflow_active_bg
Sourceoverflow_active_bg=(overflow_active_bg : Color)
Sourceoverflow_active_fg
Sourceoverflow_active_fg=(overflow_active_fg : Color)
Sourceoverflow_bg
Sourceoverflow_bg=(overflow_bg : Color)
Sourceoverflow_fg
Sourceoverflow_fg=(overflow_fg : Color)
Sourcepositions
Sourceremove_position(pos : TabPosition) : Nil
Sourceshow_close_button
Sourcetab_fg
Sourcetab_fg=(tab_fg : Color)
Sourcetabs
Sourcetoggle_overflow
Source