Package libxyz :: Package ui :: Module panel :: Class TabBar |
[hide private]
[frames] | no frames]

# Class TabBar

source code

    lowui.FlowWidget --+
                       |
                      TabBar

Tabs bar

Instance Methods | [hide private]
__init__(self, xyz, attr, block) | source code
new_tab(self, tabname=None) Add new tab | source code
del_tab(self, index=None) Delete tab by index | source code
switch_tab(self, index) Switch to tab by index | source code
next_tab(self) Switch to the next tab | source code
prev_tab(self) Switch to the previous tab | source code
rename_tab(self, index, new_name) Rename tab at index | source code
render(self, (maxcol,), focus=False) Render the tab bar | source code
rows(self, (maxcol,), focus=False) Return the number of lines that will be rendered | source code
_gen_tab_name(self, tab, idx) | source code

Class Variables | [hide private]
| active_tab = `property(lambda self: self._active_tab)`

Method Details | [hide private]

### new_tab(self, tabname=None) | source code
Add new tab Decorators: `@refresh`

### del_tab(self, index=None) | source code
Delete tab by index Decorators: `@refresh`

### switch_tab(self, index) | source code
Switch to tab by index Decorators: `@refresh`

### next_tab(self) | source code
Switch to the next tab Decorators: `@refresh`

### prev_tab(self) | source code
Switch to the previous tab Decorators: `@refresh`

### rename_tab(self, index, new_name) | source code
Rename tab at index Decorators: `@refresh`