|
Version: 3.0.4
|
◆ wxDD_CHANGE_DIR
#define wxDD_CHANGE_DIR 0x0100 |
◆ wxDD_DEFAULT_STYLE
◆ wxDD_DIR_MUST_EXIST
#define wxDD_DIR_MUST_EXIST 0x0200 |
◆ wxDD_NEW_DIR_BUTTON
#define wxDD_NEW_DIR_BUTTON 0 |
◆ wxDirSelector()
Pops up a directory selector dialog.
The arguments have the same meaning as those of wxDirDialog::wxDirDialog(). The message is displayed at the top, and the default_path, if specified, is set as the initial selection.
The application must check for an empty return value (if the user pressed Cancel). For example:
Include file:
#include <wx/dirdlg.h>
◆ wxDirDialogDefaultFolderStr
const char wxDirDialogDefaultFolderStr[] = "/" |
Initial folder for generic directory dialog.
◆ wxDirDialogNameStr
const char wxDirDialogNameStr[] = "wxDirCtrl" |
Default name for directory selector dialog.
◆ wxDirSelectorPromptStr
const char wxDirSelectorPromptStr[] = "Select a directory" |
Default message for directory selector dialog.
wxString wxDirSelector(const wxString &message=wxDirSelectorPromptStr, const wxString &default_path=wxEmptyString, long style=0, const wxPoint &pos=wxDefaultPosition, wxWindow *parent=NULL)
Pops up a directory selector dialog.
bool empty() const
An 'invalid' value for string index.