tab
dev_tool.tui.components.tab
TabComponent
A component for rendering the tabs.
The constructor for the TabComponent class.
Parameters:
-
terminal(Terminal) –The blessed Terminal instance.
-
theme(Default) –The theme instance for styling.
-
state(StateManager) –The state manager instance.
Source code in dev_tool/tui/components/tab.py
notification = NotificationDisplay(terminal)
instance-attribute
state = state
instance-attribute
terminal = terminal
instance-attribute
theme = theme
instance-attribute
draw
A method that draws the tab navigation if applicable.
Parameters:
-
output(list) –The list to append terminal output strings to.