![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
The Directory Selector widget is the reusable mega-widget component which is the core of the Directory Dialog. More...
#include <FXDirSelector.h>
Public Types | |
| enum | { ID_DIRNAME = FXPacker::ID_LAST, ID_DIRLIST, ID_HOME, ID_WORK, ID_DIRECTORY_UP, ID_BOOKMARK, ID_VISIT, ID_NEW, ID_REMOVE, ID_MOVE, ID_COPY, ID_LINK, ID_LAST } |
Public Member Functions | |
| long | onCmdName (FXObject *, FXSelector, void *) |
| long | onCmdOpened (FXObject *, FXSelector, void *) |
| long | onCmdHome (FXObject *, FXSelector, void *) |
| long | onCmdWork (FXObject *, FXSelector, void *) |
| long | onCmdDirectoryUp (FXObject *, FXSelector, void *) |
| long | onPopupMenu (FXObject *, FXSelector, void *) |
| long | onCmdBookmark (FXObject *, FXSelector, void *) |
| long | onCmdVisit (FXObject *, FXSelector, void *) |
| long | onCmdNew (FXObject *, FXSelector, void *) |
| long | onUpdNew (FXObject *, FXSelector, void *) |
| long | onCmdMove (FXObject *, FXSelector, void *) |
| long | onCmdCopy (FXObject *, FXSelector, void *) |
| long | onCmdLink (FXObject *, FXSelector, void *) |
| long | onCmdRemove (FXObject *, FXSelector, void *) |
| long | onUpdSelected (FXObject *, FXSelector, void *) |
| FXDirSelector (FXComposite *p, FXObject *tgt=NULL, FXSelector sel=0, FXuint opts=0, FXint x=0, FXint y=0, FXint w=0, FXint h=0) | |
| Constructor. | |
| FXButton * | acceptButton () const |
| Return a pointer to the "Accept" button. | |
| FXButton * | cancelButton () const |
| Return a pointer to the "Cancel" button. | |
| 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 directories. | |
| void | showHiddenFiles (FXbool showing) |
| Show or hide hidden directories. | |
| 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 | ~FXDirSelector () |
| Destructor. | |
Protected Attributes | |
| FXDirList * | dirbox |
| FXTextField * | dirname |
| FXButton * | accept |
| FXButton * | cancel |
| FXIcon * | updiricon |
| FXIcon * | homeicon |
| FXIcon * | workicon |
| FXIcon * | markicon |
| FXIcon * | clearicon |
| FXIcon * | newicon |
| FXIcon * | deleteicon |
| FXIcon * | moveicon |
| FXIcon * | copyicon |
| FXIcon * | linkicon |
| FXRecentFiles | mrufiles |
The Directory Selector widget is the reusable mega-widget component which is the core of the Directory Dialog.
The function of the directory selector widget is very similar to the file selector widget, except that the directory selector widget displays a tree-structured view of the file system, and thereby makes up and down navigation through the file system significantly easier.
|
|