![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
![]() |
#include <FXDirList.h>
Inheritance diagram for FXDirList:
Public Types | |
enum | { ID_REFRESH = FXTreeList::ID_LAST, ID_SHOW_FILES, ID_HIDE_FILES, ID_TOGGLE_FILES, ID_SHOW_HIDDEN, ID_HIDE_HIDDEN, ID_TOGGLE_HIDDEN, ID_SET_PATTERN, ID_SORT_REVERSE, ID_LAST } |
Public Methods | |
FXDirList (FXComposite *p, FXint nvis, FXObject *tgt=NULL, FXSelector sel=0, FXuint opts=0, FXint x=0, FXint y=0, FXint w=0, FXint h=0) | |
Construct a directory list. | |
virtual void | create () |
Create server-side resources. | |
virtual void | detach () |
Detach server-side resources. | |
virtual void | destroy () |
Destroy server-side resources. | |
FXbool | isItemDirectory (const FXTreeItem *item) const |
Return TRUE if item is a directory. | |
FXbool | isItemFile (const FXTreeItem *item) const |
Return TRUE if item is a file. | |
FXbool | isItemExecutable (const FXTreeItem *item) const |
Return TRUE if item is executable. | |
void | setCurrentFile (const FXString &file) |
Set current file. | |
void | setDirectory (const FXString &path) |
Set current directory. | |
FXString | getItemFilename (const FXTreeItem *item) const |
Return name of item. | |
FXString | getItemPathname (const FXTreeItem *item) const |
Return full pathname of item. | |
void | setPattern (const FXString &ptrn) |
Change wildcard matching pattern. | |
FXuint | getMatchMode () const |
Return wildcard matching mode. | |
void | setMatchMode (FXuint mode) |
Change wildcard matching mode. | |
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 and directories. | |
void | showHiddenFiles (FXbool showing) |
Show or hide hidden files and directories. | |
void | setAssociations (FXFileDict *assoc) |
Change file associations. | |
FXFileDict * | getAssociations () const |
Return file associations. | |
virtual void | save (FXStream &store) const |
Save to stream. | |
virtual void | load (FXStream &store) |
Load from stream. | |
virtual | ~FXDirList () |
Destructor. | |
Static Public Methods | |
FXint | cmpFName (const FXTreeItem *a, const FXTreeItem *b) |
FXint | cmpRName (const FXTreeItem *pa, const FXTreeItem *pb) |
Public Attributes | |
FXString | getCurrentFile () const |
Return current file. | |
FXString | getDirectory () const |
Return current directory. | |
FXString | getPattern () const |
Return wildcard pattern. |