Home | Trees | Index | Help |
|
---|
Package wx :: Class GenericDirCtrl |
|
object
--+ |Object
--+ |EvtHandler
--+ |Window
--+ |Control
--+ | GenericDirCtrl
Method Summary | |
---|---|
Control |
Create a Control. |
__repr__(self)
| |
bool |
Do the 2nd phase and create the GUI control. |
DoResize(self)
| |
bool | ExpandPath(self,
path)
|
(item, done) |
Find the child that matches the first part of 'path'. |
String | GetDefaultPath(self)
|
String | GetFilePath(self)
|
String | GetFilter(self)
|
int | GetFilterIndex(self)
|
DirFilterListCtrl | GetFilterListCtrl(self)
|
String | GetPath(self)
|
TreeItemId | GetRootId(self)
|
bool | GetShowHidden(self)
|
TreeCtrl | GetTreeCtrl(self)
|
ReCreateTree(self)
| |
SetDefaultPath(self,
path)
| |
SetFilter(self,
filter)
| |
SetFilterIndex(self,
n)
| |
SetPath(self,
path)
| |
ShowHidden(self,
show)
|
Instance Method Details |
---|
__init__(self,
parent,
id=-1,
dir=DirDialogDefaultFolderStr,
pos=DefaultPosition,
size=DefaultSize,
style=wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER,
filter=EmptyString,
defaultFilter=0,
name=TreeCtrlNameStr)
Create a Control. Normally you should only call this from a subclass'
__init__ as a plain old wx.Control is not very useful. |
Create(self, parent, id=-1, dir=DirDialogDefaultFolderStr, pos=DefaultPosition, size=DefaultSize, style=wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER, filter=EmptyString, defaultFilter=0, name=TreeCtrlNameStr)Do the 2nd phase and create the GUI control.
|
FindChild(parentId, path)Find the child that matches the first part of 'path'. E.g. if a child path is "/usr" and 'path' is "/usr/include" then the child for /usr is returned. If the path string has been used (we're at the leaf), done is set to True.
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1.20040428.rpd on Tue Apr 26 14:25:48 2005 | http://epydoc.sf.net |