Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
#include <FXFileDialog.h>
Inheritance diagram for FX::FXFileDialog:
Public Member Functions | |
FXFileDialog (FXWindow *owner, const FXString &name, FXuint opts=0, FXint x=0, FXint y=0, FXint w=500, FXint h=300) | |
FXFileDialog (FXApp *a, const FXString &name, FXuint opts=0, FXint x=0, FXint y=0, FXint w=500, FXint h=300) | |
void | setFilename (const FXString &path) |
FXString | getFilename () const |
FXString * | getFilenames () const |
void | setPattern (const FXString &ptrn) |
FXString | getPattern () const |
void | setPatternList (const FXString &patterns) |
FXString | getPatternList () const |
void | setCurrentPattern (FXint n) |
FXint | getCurrentPattern () const |
FXString | getPatternText (FXint patno) const |
void | setPatternText (FXint patno, const FXString &text) |
void | setDirectory (const FXString &path) |
FXString | getDirectory () const |
void | setItemSpace (FXint s) |
FXint | getItemSpace () const |
void | setFileBoxStyle (FXuint style) |
FXuint | getFileBoxStyle () const |
void | setSelectMode (FXuint mode) |
FXuint | getSelectMode () const |
void | setMatchMode (FXuint mode) |
FXuint | getMatchMode () const |
void | showReadOnly (FXbool show) |
FXbool | shownReadOnly () const |
void | setReadOnly (FXbool state) |
FXbool | getReadOnly () const |
virtual void | save (FXStream &store) const |
virtual void | load (FXStream &store) |
virtual | ~FXFileDialog () |
Static Public Member Functions | |
FXString | getOpenFilename (FXWindow *owner, const FXString &caption, const FXString &path, const FXString &patterns="*", FXint initial=0) |
FXString * | getOpenFilenames (FXWindow *owner, const FXString &caption, const FXString &path, const FXString &patterns="*", FXint initial=0) |
FXString | getSaveFilename (FXWindow *owner, const FXString &caption, const FXString &path, const FXString &patterns="*", FXint initial=0) |
FXString | getOpenDirectory (FXWindow *owner, const FXString &caption, const FXString &path) |
|
Construct file dialog box.
|
|
Construct free-floating file dialog box.
|
|
Destructor.
|
|
Change file name.
|
|
Return file name, if any.
|
|
Return empty-string terminated list of selected file names, or NULL if none selected.
|
|
Change file pattern.
|
|
Return file pattern.
|
|
Change the list of file patterns shown in the file dialog. Each pattern comprises an optional name, followed by a pattern in parentheses. The patterns are separated by newlines. For example, "*\n*.cpp,*.cc\n*.hpp,*.hh,*.h" and "All Files (*)\nC++ Sources (*.cpp,*.cc)\nC++ Headers (*.hpp,*.hh,*.h)" will set the same three patterns, but the former shows no pattern names. |
|
Return list of patterns.
|
|
After setting the list of patterns, this call will initially select pattern n as the active one.
|
|
Return current pattern number.
|
|
Get pattern text for given pattern number.
|
|
Change pattern text for pattern number.
|
|
Change directory.
|
|
Return directory.
|
|
Set the inter-item spacing (in pixels).
|
|
Return the inter-item spacing (in pixels).
|
|
Change File List style.
|
|
Return File List style.
|
|
Change file selection mode.
|
|
Return file selection mode.
|
|
Change wildcard matching mode.
|
|
Return wildcard matching mode.
|
|
Show readonly button.
|
|
Return TRUE if readonly is shown.
|
|
Set initial state of readonly button.
|
|
Get readonly state.
|
|
Open existing filename.
|
|
Open multiple existing files.
|
|
Save to filename.
|
|
Open directory name.
|
|
Save to stream.
Reimplemented from FX::FXTopWindow. |
|
Load from stream.
Reimplemented from FX::FXTopWindow. |
Copyright © 1997-2004 Jeroen van der Zijp |