********************* wx.FileDirPickerEvent ********************* Inheritance diagram for `wx.FileDirPickerEvent`: | .. inheritance-diagram:: wx.FileDirPickerEvent | Description =========== This event class is used for the events generated by `wx.FilePickerCtrl <../Widgets/wx.FilePickerCtrl.html>`_ and by `wx.DirPickerCtrl <../Widgets/wx.DirPickerCtrl.html>`_ . Derived From ^^^^^^^^^^^^^ * `wx.CommandEvent `_ * `wx.Event `_ * `wx.Object <../Widgets/wx.Object.html>`_ Event Handling ^^^^^^^^^^^^^^ ================================================== ================================================== Event Name Description ================================================== ================================================== wx.EVT_FILEPICKER_CHANGED(id, func) Generated whenever the selected file changes. wx.EVT_DIRPICKER_CHANGED(id, func) Generated whenever the selected directory changes. ================================================== ================================================== Methods Summary ^^^^^^^^^^^^^^^ * `__init__ <#__init__>`_ * `GetPath <#GetPath>`_ * `SetPath <#SetPath>`_ Properties Summary ^^^^^^^^^^^^^^^^^^ * `Path <#Path>`_ Class API ========= Methods ^^^^^^^ .. method:: __init__(type, generator, id, path) This constructor is normally not used by the user code. **Parameters:** * `type` (eventtype) * `generator` (`wx.Object <../Widgets/wx.Object.html>`_) * `id` (int) * `path` (string) | **Returns:** `wx.FileDirPickerEvent `_ -------- .. method:: GetPath() Retrieve the absolute path of the file/directory the user has just selected. | **Returns:** `string` -------- .. method:: SetPath(path) Set the absolute path of the file/directory associated with the event. **Parameters:** * `path` (string) -------- Properties ^^^^^^^^^^ .. attribute:: Path See `GetPath <#GetPath>`_ and `SetPath <#SetPath>`_