Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
#include <FXDirBox.h>
Inheritance diagram for FX::FXDirBox:
Public Member Functions | |
FXDirBox (FXComposite *p, FXObject *tgt=NULL, FXSelector sel=0, FXuint opts=FRAME_SUNKEN|FRAME_THICK|TREELISTBOX_NORMAL, FXint x=0, FXint y=0, FXint w=0, FXint h=0, FXint pl=DEFAULT_PAD, FXint pr=DEFAULT_PAD, FXint pt=DEFAULT_PAD, FXint pb=DEFAULT_PAD) | |
virtual void | create () |
virtual void | detach () |
virtual void | destroy () |
virtual void | save (FXStream &store) const |
virtual void | load (FXStream &store) |
void | setDirectory (const FXString &pathname) |
FXString | getDirectory () const |
void | setAssociations (FXFileDict *assoc) |
FXFileDict * | getAssociations () const |
virtual | ~FXDirBox () |
First, it is filled with a string comprising a file path, like "/a/b/c". Then, the user can select "/a/b/c", "/a/b", "/a", and "/" from the drop-down list. The entries in the drop-down list are automatically provided with icons by consulting the file-associations registry settings. The Directory Box sends SEL_CHANGED and SEL_COMMAND messages, with the string containing the full path to the selected item.
See also:
|
Construct a Directory Box.
|
|
Destructor.
|
|
Create server-side resources.
Reimplemented from FX::FXTreeListBox. |
|
Detach server-side resources.
Reimplemented from FX::FXTreeListBox. |
|
Destroy server-side resources.
Reimplemented from FX::FXTreeListBox. |
|
Save to stream.
Reimplemented from FX::FXTreeListBox. |
|
Load from stream.
Reimplemented from FX::FXTreeListBox. |
|
Set current directory.
|
|
Return current directory.
|
|
Change file associations used to look up icons.
|
|
Return file associations.
|
Copyright © 1997-2005 Jeroen van der Zijp |