wx.FileDirPickerEvent

Inheritance diagram for wx.FileDirPickerEvent:



Description

This event class is used for the events generated by wx.FilePickerCtrl and by wx.DirPickerCtrl .

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

Properties Summary

Class API

Methods

__init__(type, generator, id, path)

This constructor is normally not used by the user code.

Parameters:

  • type (eventtype)
  • generator (wx.Object)
  • id (int)
  • path (string)

Returns:

wx.FileDirPickerEvent


GetPath()

Retrieve the absolute path of the file/directory the user has just selected.


Returns:

string


SetPath(path)

Set the absolute path of the file/directory associated with the event.

Parameters:

  • path (string)

Properties

Path
See GetPath and SetPath