![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
A Directory Dialog provides a way to select a directory. More...
#include <FXDirDialog.h>
Public Member Functions | |
| FXDirDialog (FXWindow *owner, const FXString &name, FXuint opts=0, FXint x=0, FXint y=0, FXint w=400, FXint h=300) | |
| Construct Directory Dialog box. | |
| FXDirDialog (FXApp *a, const FXString &name, FXuint opts=0, FXint x=0, FXint y=0, FXint w=400, FXint h=300) | |
| Construct free-floating Directory Dialog box. | |
| virtual void | hide () |
| Hide this window. | |
| void | setDirectory (const FXString &path) |
| Change directory. | |
| FXString | getDirectory () const |
| Return directory. | |
| FXbool | showFiles () const |
| Return true if showing files as well as directories. | |
| void | showFiles (FXbool showing) |
| Show or hide normal files. | |
| FXbool | showHiddenFiles () const |
| Return true if showing hidden files. | |
| void | showHiddenFiles (FXbool showing) |
| Show or hide hidden files. | |
| FXuint | getMatchMode () const |
| Return wildcard matching mode. | |
| void | setMatchMode (FXuint mode) |
| Change wildcard matching mode (see FXPath) | |
| void | setDirBoxStyle (FXuint style) |
| Change directory list style. | |
| FXuint | getDirBoxStyle () const |
| Return directory list style. | |
| void | setAssociations (FXFileDict *assoc, FXbool owned=false) |
| Change file associations; delete old ones if owned. | |
| FXFileDict * | getAssociations () const |
| Return file associations. | |
| virtual void | save (FXStream &store) const |
| Save to stream. | |
| virtual void | load (FXStream &store) |
| Load from stream. | |
| virtual | ~FXDirDialog () |
| Destructor. | |
Static Public Member Functions | |
| static FXString | getOpenDirectory (FXWindow *owner, const FXString &caption, const FXString &path) |
| Open directory name. | |
Protected Member Functions | |
| void | initdialog () |
Protected Attributes | |
| FXDirSelector * | dirbox |
A Directory Dialog provides a way to select a directory.
In function, the directory selection dialog is very similar to the file dialog, except that the Directory Dialog displays a tree-structured view of the file system, and thereby makes up and down navigation through the file system significantly easier.
|
|