libtextworker 0.1.4
Cross-platform, free and open library for Python projects
Public Member Functions | Static Public Attributes | List of all members
libtextworker.interface.base.dirctrl.DirCtrlBase Class Reference
Inheritance diagram for libtextworker.interface.base.dirctrl.DirCtrlBase:
Inheritance graph
[legend]

Public Member Functions

def SetFolder (this, str path, bool newroot)
 
str GetFullPath (this, str|Callable|None item=None, Callable|None event=None)
 
def GoForward (this)
 
def GoBack (this)
 
bool PostSetDir (this, path, Literal["forward", "back", "go"] mode)
 
def sizeof_fmt (this, num, suffix="B")
 

Static Public Attributes

 Styles = DC_EDIT | DC_USEICON
 
 int
 

Detailed Description

A directory tree.
Styles are defined in ..DC_FLAGS class and called in this module.

Enabled by default:
* DC_EDIT (toolkit-specific)
* DC_USEICON (toolkit-specific)

Features can be different on different platforms - this depends on the developer.
The actual tree, also scrollbars if enabled - must be placed in a frame (named Frame).
Custom flags (styles above) should be checked & implemented manually.

Definition at line 36 of file dirctrl.py.


The documentation for this class was generated from the following file: