Version: 2.9.4
Public Member Functions
wxFileDirPickerEvent Class Reference

#include </home/zeitlin/src/wx/github/interface/wx/filepicker.h>

Inheritance diagram for wxFileDirPickerEvent:

Detailed Description

This event class is used for the events generated by wxFilePickerCtrl and by wxDirPickerCtrl.

Events using this class

The following event handler macros redirect the events to member function handlers 'func' with prototypes like:

void handlerFuncName(wxFileDirPickerEvent& event)

Event macros:

Library:  wxCore
Category:  Events
参照:
wxFilePickerCtrl, wxDirPickerCtrl

Public Member Functions

 wxFileDirPickerEvent ()
 wxFileDirPickerEvent (wxEventType type, wxObject *generator, int id, const wxString &path)
 The constructor is not normally used by the user code.
wxString GetPath () const
 Retrieve the absolute path of the file/directory the user has just selected.
void SetPath (const wxString &path)
 Set the absolute path of the file/directory associated with the event.

List of all members.


Constructor & Destructor Documentation

wxFileDirPickerEvent::wxFileDirPickerEvent ( )
wxFileDirPickerEvent::wxFileDirPickerEvent ( wxEventType  type,
wxObject generator,
int  id,
const wxString path 
)

The constructor is not normally used by the user code.


Member Function Documentation

wxString wxFileDirPickerEvent::GetPath ( ) const

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

void wxFileDirPickerEvent::SetPath ( const wxString path)

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

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines