libtextworker 0.1.4
Cross-platform, free and open library for Python projects

◆ __init__()

def libtextworker.interface.wx.dirctrl.DirCtrl.__init__ (   this,
args,
**  kw 
)
A directory list made from wxTreeCtrl.
This is WIP, and lacks lots of features:
* Label editting
* Copy-paste + right-click menu
* Drag-n-drop
* Hidden files detect (quite hard, may need to use C/C++)
* Sorting items

Flags available:
* DC_EDIT = wx.TR_EDIT_LABELS
* DC_HIDEROOT = hide the root node
* DC_ONEROOT: only use one root node
* DC_MULTIPLE = wx.TR_MULTIPLE (multiple selections)
* No flag at all = wx.TR_DEFAULT_STYLE

If you want to add more than one folder to this control,
use DC_HIDEROOT and disable DC_ONEROOT (default).

Definition at line 136 of file dirctrl.py.