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

# Class Panel

source code

    lowui.WidgetWrap --+
                       |
                      Panel

Panel is used to display filesystem hierarchy

Instance Methods | [hide private]
__init__(self, xyz) | source code
_update_conf_hook(self, var, val, sect) Hook for update conf event | source code
_compose(self) Compose widgets | source code
_build_filters(self) Compile filters | source code
active(self) | source code
inactive(self) | source code
loop(self) Start working loop | source code
_set_plugins(self) Set virtual plugins | source code
shutdown(self) Quit program | source code
repaint(self) Reparint screen | source code
entry_next(self) Next entry | source code
entry_prev(self) Previous entry | source code
entry_top(self) Top entry | source code
entry_bottom(self) Bottom entry | source code
switch_active(self) Switch active block | source code
block_next(self) Next block | source code
block_prev(self) Previous block | source code
get_selected(self, active=True) Get selected VFSObject instance | source code
get_tagged(self, active=True) Return list of tagged VFSObject instances | source code
get_untagged(self, active=True) Return list of not tagged VFSObject instances | source code
get_current(self, active=True) Return VFSObject instance of current VFSObject | source code
get_active(self) Return list of tagged VFSObject instances or list of single selected object if none tagged | source code
toggle_tag(self, active=True) Tag selected file | source code
tag_all(self, active=True) Tag every single object in current dir | source code
untag_all(self, active=True) Untag every single object in current dir | source code
tag_invert(self, active=True) Invert currently tagged files | source code
tag_rule(self, active=True) Tag files by combined rule | source code
untag_rule(self, active=True) Untag files by combined rules | source code
swap_blocks(self) Swap panel blocks | source code
reload(self, active=True) Reload contents | source code
reload_all(self) Reload both panels | source code
action(self, active=True) Perfrom action on selected object | source code
chdir(self, path, active=True) Change directory | source code
search_forward(self) Enable forward search-when-you-type mode | source code
search_backward(self) Enable backward search-when-you-type mode | source code
search_cycle(self) Enable cyclic search-when-you-type mode | source code
show_tagged(self, active=True) Show only tagged entries | source code
select(self, name, active=True) Select VFS object by given name in current directory | source code
cwd(self, active=True) Get current working directory | source code
vfs_driver(self, active=True) Return vfs driver used by object. | source code
filter(self, objects) Filter objects | source code
sort(self, objects) Sort objects | source code
new_tab(self, tabname=None, active=True) Create new tab | source code
del_tab(self, index=None, active=True) Delete tab. | source code
switch_tab(self, index, active=True) Switch to tab | source code
next_tab(self, active=True) Switch to the next tab | source code
prev_tab(self, active=True) Switch to the previous tab | source code
get_tabs(self, active=True) Return list of tabs in format: [(path, selected_name)] | source code
active_tab(self, active=True) Get active tab index | source code

Class Variables | [hide private]
| resolution = `u"panel", u"widget"`
| context = `u":sys:panel"`
| EVENT_SHUTDOWN = `u"event:shutdown"`
| EVENT_BEFORE_SWITCH_TAB = `u"event:sys:panel:before_switch_tab"`
| EVENT_SWITCH_TAB = `u"event:sys:panel:switch_tab"`
| EVENT_NEW_TAB = `u"event:sys:panel:new_tab"`
| EVENT_DEL_TAB = `u"event:sys:panel:del_tab"`

Method Details | [hide private]

### active(self) | source code
Decorators: `@property`

### inactive(self) | source code
Decorators: `@property`

### vfs_driver(self, active=True) | source code
Return vfs driver used by object. None stands for LocalVFS

### del_tab(self, index=None, active=True) | source code
Delete tab. If index is None - delete current tab