Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members

FX::FXDirSelector Class Reference

#include <FXDirSelector.h>

Inheritance diagram for FX::FXDirSelector:
FX::FXPacker FX::FXComposite FX::FXWindow FX::FXDrawable FX::FXId FX::FXObject

List of all members.

Public Member Functions

 FXDirSelector (FXComposite *p, FXObject *tgt=NULL, FXSelector sel=0, FXuint opts=0, FXint x=0, FXint y=0, FXint w=0, FXint h=0)
FXButtonacceptButton () const
FXButtoncancelButton () const
void setDirectory (const FXString &path)
FXString getDirectory () const
FXbool showFiles () const
void showFiles (FXbool showing)
FXbool showHiddenFiles () const
void showHiddenFiles (FXbool showing)
FXuint getMatchMode () const
void setMatchMode (FXuint mode)
void setDirBoxStyle (FXuint style)
FXuint getDirBoxStyle () const
virtual void save (FXStream &store) const
virtual void load (FXStream &store)
virtual ~FXDirSelector ()

Detailed Description

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.


Constructor & Destructor Documentation

FX::FXDirSelector::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.

virtual FX::FXDirSelector::~FXDirSelector ( ) [virtual]

Destructor.


Member Function Documentation

Return a pointer to the "Accept" button.

Return a pointer to the "Cancel" button.

void FX::FXDirSelector::setDirectory ( const FXString path)

Change directory.

Return directory.

Return TRUE if showing files as well as directories.

Show or hide normal files.

Return TRUE if showing hidden directories.

Show or hide hidden directories.

Return wildcard matching mode.

Change wildcard matching mode.

Change Directory List style.

Return Directory List style.

virtual void FX::FXDirSelector::save ( FXStream store) const [virtual]

Save to stream.

Reimplemented from FX::FXPacker.

virtual void FX::FXDirSelector::load ( FXStream store) [virtual]

Load from stream.

Reimplemented from FX::FXPacker.

Copyright © 1997-2005 Jeroen van der Zijp