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

FX::FXDirSelector Class Reference

The Directory Selector widget is the reusable mega-widget component which is the core of the Directory Dialog. More...

#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

FXButton* FX::FXDirSelector::acceptButton  )  const [inline]
 

Return a pointer to the "Accept" button.

FXButton* FX::FXDirSelector::cancelButton  )  const [inline]
 

Return a pointer to the "Cancel" button.

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

Change directory.

FXString FX::FXDirSelector::getDirectory  )  const
 

Return directory.

FXbool FX::FXDirSelector::showFiles  )  const
 

Return TRUE if showing files as well as directories.

void FX::FXDirSelector::showFiles FXbool  showing  ) 
 

Show or hide normal files.

FXbool FX::FXDirSelector::showHiddenFiles  )  const
 

Return TRUE if showing hidden directories.

void FX::FXDirSelector::showHiddenFiles FXbool  showing  ) 
 

Show or hide hidden directories.

FXuint FX::FXDirSelector::getMatchMode  )  const
 

Return wildcard matching mode.

void FX::FXDirSelector::setMatchMode FXuint  mode  ) 
 

Change wildcard matching mode.

void FX::FXDirSelector::setDirBoxStyle FXuint  style  ) 
 

Change Directory List style.

FXuint FX::FXDirSelector::getDirBoxStyle  )  const
 

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