This event class is used for the events generated by wx.FilePickerCtrl and by wx.DirPickerCtrl.
^^
Handlers bound for the following event types will receive a wx.FileDirPickerEvent parameter.
EVT_FILEPICKER_CHANGED: Generated whenever the selected file changes.
EVT_DIRPICKER_CHANGED: Generated whenever the selected directory changes. ^^
Retrieve the absolute path of the file/directory the user has just selected. |
|
Set the absolute path of the file/directory associated with the event. |
wx.
FileDirPickerEvent
(CommandEvent)¶Possible constructors:
FileDirPickerEvent() -> None
FileDirPickerEvent(type : EventType, generator : Object, id : int, path
: str) -> None
This event class is used for the events generated by FilePickerCtrl and by DirPickerCtrl.
__init__
(self, *args, **kw)¶__init__ (self)
None
__init__ (self, type : EventType, generator : Object, id : int, path : str)
The constructor is not normally used by the user code.
type (wx.EventType) –
generator (wx.Object) –
id (int) –
path (string) –
None
GetPath
(self)¶Retrieve the absolute path of the file/directory the user has just selected.
str
SetPath
(self, path : str)¶Set the absolute path of the file/directory associated with the event.
path (string) –
None