wx.FileDirPickerEvent¶This event class is used for the events generated by wx.FilePickerCtrl and by wx.DirPickerCtrl.
Events Emitted by this Class¶Handlers bound for the following event types will receive a wx.FileDirPickerEvent parameter.
See also
Methods Summary¶__init__ |
|
GetPath |
Retrieve the absolute path of the file/directory the user has just selected. |
SetPath |
Set the absolute path of the file/directory associated with the event. |
Class API¶wx.FileDirPickerEvent(CommandEvent)¶Possible constructors:
FileDirPickerEvent()
FileDirPickerEvent(type, generator, id, path)
This event class is used for the events generated by FilePickerCtrl and by DirPickerCtrl.
__init__(self, *args, **kw)¶__init__ (self)
__init__ (self, type, generator, id, path)
The constructor is not normally used by the user code.
| Parameters: |
|
|---|
GetPath(self)¶Retrieve the absolute path of the file/directory the user has just selected.
| Return type: | string |
|---|
SetPath(self, path)¶Set the absolute path of the file/directory associated with the event.
| Parameters: | path (string) – |
|---|