Table Of Contents

Previous topic

FileDialog

Next topic

FileDropTarget

This Page

phoenix_title FileDirPickerEvent

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

events Events Emitted by this Class

Handlers bound for the following event types will receive a FileDirPickerEvent parameter.

  • EVT_FILEPICKER_CHANGED: Generated whenever the selected file changes.
  • EVT_DIRPICKER_CHANGED: Generated whenever the selected directory changes.

class_hierarchy Inheritance Diagram

Inheritance diagram for class FileDirPickerEvent

Inheritance diagram of FileDirPickerEvent


method_summary 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.

property_summary Properties Summary

Path See GetPath and SetPath

api Class API



class FileDirPickerEvent(CommandEvent)

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

Possible constructors:

FileDirPickerEvent()

FileDirPickerEvent(type, generator, id, path)

Methods



__init__(self, *args, **kw)

overload Overloaded Implementations:



__init__ (self)



__init__ (self, type, generator, id, path)

The constructor is not normally used by the user code.

Parameters:
  • type (EventType) –
  • generator (Object) –
  • id (int) –
  • path (string) –





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) –

Properties



Path

See GetPath and SetPath