24 #ifndef FXFILESELECTOR_H
25 #define FXFILESELECTOR_H
43 class FXHorizontalFrame;
92 FXString *getSelectedFilesOnly()
const;
148 FXButton *acceptButton()
const {
return accept; }
151 FXButton *cancelButton()
const {
return cancel; }
154 void setFilename(
const FXString& path);
157 FXString getFilename()
const;
164 FXString* getFilenames()
const;
167 void setPattern(
const FXString& ptrn);
170 FXString getPattern()
const;
186 void setPatternList(
const FXString& patterns);
189 FXString getPatternList()
const;
195 void setCurrentPattern(
FXint n);
198 FXint getCurrentPattern()
const;
201 FXString getPatternText(
FXint patno)
const;
207 FXint getNumPatterns()
const;
210 void allowPatternEntry(
FXbool allow);
213 FXbool allowPatternEntry()
const;
231 void setDirectory(
const FXString& path);
237 void setItemSpace(
FXint s);
240 FXint getItemSpace()
const;
243 void setFileBoxStyle(
FXuint style);
246 FXuint getFileBoxStyle()
const;
249 void setSelectMode(
FXuint mode);
252 FXuint getSelectMode()
const {
return selectmode; }
255 void setMatchMode(
FXuint mode);
258 FXuint getMatchMode()
const;
261 FXbool showHiddenFiles()
const;
264 void showHiddenFiles(
FXbool showing);
267 FXbool showImages()
const;
270 void showImages(
FXbool showing);
273 FXint getImageSize()
const;
276 void setImageSize(
FXint size);
279 void showReadOnly(
FXbool show);
282 FXbool shownReadOnly()
const;
285 void setReadOnly(
FXbool state);
288 FXbool getReadOnly()
const;
291 void allowNavigation(
FXbool flag){ navigable=flag; }
294 FXbool allowNavigation()
const {
return navigable; }
297 virtual void save(FXStream& store)
const;
300 virtual void load(FXStream& store);
303 virtual ~FXFileSelector();
An existing file (to load)
Definition: FXFileSelector.h:52
The Matrix layout manager automatically arranges its child windows in rows and columns.
Definition: FXMatrix.h:66
Definition: FXWindow.h:241
unsigned int FXuint
Definition: fxdefs.h:396
FXuint FXSelector
Association key.
Definition: FXObject.h:53
A File List widget provides an icon rich view of the file system.
Definition: FXFileList.h:120
#define FXAPI
Definition: fxdefs.h:122
FXuchar FXbool
Definition: fxdefs.h:393
Base composite.
Definition: FXComposite.h:35
#define NULL
Definition: fxdefs.h:41
Horizontal frame layout manager widget is used to automatically place child-windows horizontally from...
Definition: FXHorizontalFrame.h:39
Definition: FX4Splitter.h:31
int FXint
Definition: fxdefs.h:397
An Icon is an image with two additional server-side resources: a shape bitmap, which is used to mask ...
Definition: FXIcon.h:45
Packer is a layout manager which automatically places child windows inside its area against the left...
Definition: FXPacker.h:58
Multiple existing files.
Definition: FXFileSelector.h:53
A text field is a single-line text entry widget.
Definition: FXTextField.h:73
Multiple existing files or directories, but not '.' and '..'.
Definition: FXFileSelector.h:54
A Directory Box widget allows the user to select parts of a file path.
Definition: FXDirBox.h:59
Existing directory, including '.' or '..'.
Definition: FXFileSelector.h:55
Object is the base class for all objects in FOX; in order to receive messages from the user interface...
Definition: FXObject.h:166
The recent files object manages a most recently used (MRU) file list by means of the standard system ...
Definition: FXRecentFiles.h:48
A single file, existing or not (to save to)
Definition: FXFileSelector.h:51
A Combo Box provides a way to select a string from a list of strings.
Definition: FXComboBox.h:75
#define FXDECLARE(classname)
Macro to set up class declaration.
Definition: FXObject.h:92
File selection widget.
Definition: FXFileSelector.h:65
FXString provides essential string manipulation capabilities.
Definition: FXString.h:33