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

FX::FXDirDialog Class Reference

A Directory Dialog provides a way to select a directory. More...

#include <FXDirDialog.h>

Inheritance diagram for FX::FXDirDialog:

FX::FXDialogBox FX::FXTopWindow FX::FXShell FX::FXComposite FX::FXWindow FX::FXDrawable FX::FXId FX::FXObject List of all members.

Public Member Functions

 FXDirDialog (FXWindow *owner, const FXString &name, FXuint opts=0, FXint x=0, FXint y=0, FXint w=400, FXint h=300)
 FXDirDialog (FXApp *a, const FXString &name, FXuint opts=0, FXint x=0, FXint y=0, FXint w=400, FXint h=300)
virtual void hide ()
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 ~FXDirDialog ()

Static Public Member Functions

FXString getOpenDirectory (FXWindow *owner, const FXString &caption, const FXString &path)

Detailed Description

A Directory Dialog provides a way to select a directory.

In function, the directory selection dialog is very similar to the file dialog, except that the Directory Dialog 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::FXDirDialog::FXDirDialog FXWindow owner,
const FXString name,
FXuint  opts = 0,
FXint  x = 0,
FXint  y = 0,
FXint  w = 400,
FXint  h = 300
 

Construct Directory Dialog box.

FX::FXDirDialog::FXDirDialog FXApp a,
const FXString name,
FXuint  opts = 0,
FXint  x = 0,
FXint  y = 0,
FXint  w = 400,
FXint  h = 300
 

Construct free-floating Directory Dialog box.

virtual FX::FXDirDialog::~FXDirDialog  )  [virtual]
 

Destructor.


Member Function Documentation

virtual void FX::FXDirDialog::hide  )  [virtual]
 

Hide this window.

Reimplemented from FX::FXTopWindow.

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

Change directory.

FXString FX::FXDirDialog::getDirectory  )  const
 

Return directory.

FXbool FX::FXDirDialog::showFiles  )  const
 

Return TRUE if showing files as well as directories.

void FX::FXDirDialog::showFiles FXbool  showing  ) 
 

Show or hide normal files.

FXbool FX::FXDirDialog::showHiddenFiles  )  const
 

Return TRUE if showing hidden files.

void FX::FXDirDialog::showHiddenFiles FXbool  showing  ) 
 

Show or hide hidden files.

FXuint FX::FXDirDialog::getMatchMode  )  const
 

Return wildcard matching mode.

void FX::FXDirDialog::setMatchMode FXuint  mode  ) 
 

Change wildcard matching mode.

void FX::FXDirDialog::setDirBoxStyle FXuint  style  ) 
 

Change directory list style.

FXuint FX::FXDirDialog::getDirBoxStyle  )  const
 

Return directory list style.

FXString FX::FXDirDialog::getOpenDirectory FXWindow owner,
const FXString caption,
const FXString path
[static]
 

Open directory name.

virtual void FX::FXDirDialog::save FXStream store  )  const [virtual]
 

Save to stream.

Reimplemented from FX::FXTopWindow.

virtual void FX::FXDirDialog::load FXStream store  )  [virtual]
 

Load from stream.

Reimplemented from FX::FXTopWindow.

Copyright © 1997-2005 Jeroen van der Zijp