Home | Trees | Index | Help |
|
---|
Package wx :: Package lib :: Package agw :: Module multidirdialog :: Class MultiDirDialog |
|
object
--+ |Object
--+ |EvtHandler
--+ |Window
--+ |TopLevelWindow
--+ |Dialog
--+ | MultiDirDialog
A different implementation of wx.DirDialog which allows multiple folders to be selected at once.
Method Summary | |
---|---|
Default class constructor. | |
Binds the events to specific methods. | |
Creates the Ok, cancel and new folder bitmap buttons. | |
Returns the folders selected by the user. | |
Layout the widgets using sizers. | |
Handles the Cancel wx.EVT_BUTTON event for the dialog. | |
User canceled the dialog. | |
Handles the wx.EVT_CHAR_HOOK event for the dialog. | |
Handles the Ok wx.EVT_BUTTON event for the dialog. | |
Handles the wx.EVT_TREE_SEL_CHANGED event for the tree control associated with MultiDirDialog. | |
Recurse a directory tree to include the parent-folder. | |
Sets few properties for the dialog. | |
Setup the wx.GenericDirCtrl (icons, labels, etc...). |
Property Summary |
---|
Class Variable Summary |
---|
Instance Method Details |
---|
__init__(self,
parent,
message=u'Choose a directory',
title=u'Browse For Folders',
defaultPath='',
style=536878144,
pos=wx.Point(-1, -1),
size=wx.Size(-1, -1),
name='multidirdialog')
|
BindEvents(self)Binds the events to specific methods. |
CreateButtons(self)Creates the Ok, cancel and new folder bitmap buttons. |
GetPaths(self)Returns the folders selected by the user. |
LayoutItems(self)Layout the widgets using sizers. |
OnCancel(self, event)Handles the Cancel wx.EVT_BUTTON event for the dialog. |
OnClose(self, event)User canceled the dialog. |
OnKeyUp(self, event)Handles the wx.EVT_CHAR_HOOK event for the dialog. |
OnOk(self, event)Handles the Ok wx.EVT_BUTTON event for the dialog. |
OnSelChanged(self, event)Handles the wx.EVT_TREE_SEL_CHANGED event for the tree control associated with MultiDirDialog. |
RecurseTopDir(self, treeCtrl, item, itemText)Recurse a directory tree to include the parent-folder. @param treeCtrl: the tree control associated with wx.GenericDirCtrl; @param item: the selected tree control item; @param itemText: the selected tree control item text. |
SetProperties(self, title)Sets few properties for the dialog. |
SetupDirCtrl(self, defaultPath)Setup the wx.GenericDirCtrl (icons, labels, etc...). |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1.20050511.rpd on Mon Feb 16 12:51:36 2009 | http://epydoc.sf.net |