/////////////////////////////////////////////////////////////////////////////
// Name: filepicker.h
-// Purpose: documentation for wxFilePickerCtrl class
+// Purpose: interface of wxFilePickerCtrl
// Author: wxWidgets team
// RCS-ID: $Id$
// Licence: wxWindows license
@category{miscpickers}
@appearance{filepickerctrl.png}
- @seealso
- wxFileDialog, wxFileDirPickerEvent
+ @see wxFileDialog, wxFileDirPickerEvent
*/
class wxFilePickerCtrl : public wxPickerBase
{
Validator which can be used for additional date checks.
@param name
Control name.
-
+
@returns @true if the control was successfully created or @false if
creation failed.
*/
Similar to GetPath() but returns the path of
the currently selected file as a wxFileName object.
*/
- wxFileName GetFileName();
+ wxFileName GetFileName() const;
/**
Returns the absolute path of the currently selected file.
*/
- wxString GetPath();
+ wxString GetPath() const;
/**
This method does the same thing as SetPath() but
};
+
/**
@class wxDirPickerCtrl
@wxheader{filepicker.h}
@category{miscpickers}
@appearance{dirpickerctrl.png}
- @seealso
- wxDirDialog, wxFileDirPickerEvent
+ @see wxDirDialog, wxFileDirPickerEvent
*/
class wxDirPickerCtrl : public wxPickerBase
{
Validator which can be used for additional date checks.
@param name
Control name.
-
+
@returns @true if the control was successfully created or @false if
creation failed.
*/
object.
This function is equivalent to GetPath()
*/
- wxFileName GetDirName();
+ wxFileName GetDirName() const;
/**
Returns the absolute path of the currently selected directory.
*/
- wxString GetPath();
+ wxString GetPath() const;
/**
Just like SetPath() but this function takes a
};
+
/**
@class wxFileDirPickerEvent
@wxheader{filepicker.h}
@library{wxcore}
@category{FIXME}
- @seealso
- wxfilepickerctrl
+ @see wxfilepickerctrl()
*/
class wxFileDirPickerEvent : public wxCommandEvent
{
/**
Retrieve the absolute path of the file/directory the user has just selected.
*/
- wxString GetPath();
+ wxString GetPath() const;
/**
Set the absolute path of the file/directory associated with the event.
*/
void SetPath(const wxString& path);
};
+