21 #ifndef FXFILESELECTOR_H 22 #define FXFILESELECTOR_H 31 class FXFileAssociations;
44 class FXHorizontalFrame;
52 SELECTFILE_MULTIPLE_ALL,
102 static FXint countFilenames(
const FXString&
string);
109 long onCmdAccept(
FXObject*,FXSelector,
void*);
110 long onCmdFilter(
FXObject*,FXSelector,
void*);
111 long onCmdItemDblClicked(
FXObject*,FXSelector,
void*);
112 long onCmdItemSelected(
FXObject*,FXSelector,
void*);
113 long onCmdItemDeselected(
FXObject*,FXSelector,
void*);
114 long onCmdDirectoryUp(
FXObject*,FXSelector,
void*);
115 long onUpdDirectoryUp(
FXObject*,FXSelector,
void*);
116 long onCmdDirTree(
FXObject*,FXSelector,
void*);
117 long onCmdHome(
FXObject*,FXSelector,
void*);
118 long onCmdWork(
FXObject*,FXSelector,
void*);
119 long onCmdBookmark(
FXObject*,FXSelector,
void*);
120 long onCmdUnBookmark(
FXObject*,FXSelector,
void*);
121 long onCmdVisit(
FXObject*,FXSelector,
void*);
122 long onCmdNew(
FXObject*,FXSelector,
void*);
123 long onUpdNew(
FXObject*,FXSelector,
void*);
124 long onCmdRename(
FXObject*,FXSelector,
void*);
125 long onCmdCopy(
FXObject*,FXSelector,
void*);
126 long onCmdMove(
FXObject*,FXSelector,
void*);
127 long onCmdLink(
FXObject*,FXSelector,
void*);
128 long onCmdRemove(
FXObject*,FXSelector,
void*);
129 long onUpdSelected(
FXObject*,FXSelector,
void*);
130 long onPopupMenu(
FXObject*,FXSelector,
void*);
131 long onCmdImageSize(
FXObject*,FXSelector,
void*);
132 long onUpdImageSize(
FXObject*,FXSelector,
void*);
133 long onUpdNavigable(
FXObject*,FXSelector,
void*);
136 ID_FILEFILTER=FXPacker::ID_LAST,
165 virtual void create();
174 void setFilename(
const FXString& path);
187 void setDirectory(
const FXString& path);
193 void setSelectMode(FXuint mode);
199 void setPattern(
const FXString& ptrn);
205 void setMatchMode(FXuint mode);
208 FXuint getMatchMode()
const;
224 void setPatternList(
const FXString& patterns);
233 void setCurrentPattern(FXint patno);
236 FXint getCurrentPattern()
const;
239 void setPatternText(FXint patno,
const FXString& text);
242 FXString getPatternText(FXint patno)
const;
245 FXint getNumPatterns()
const;
248 void allowPatternEntry(FXbool flag);
251 FXbool allowPatternEntry()
const;
254 void setItemSpace(FXint s);
257 FXint getItemSpace()
const;
260 void setFileBoxStyle(FXuint style);
263 FXuint getFileBoxStyle()
const;
266 void setSortOrder(FXuint order);
269 FXuint getSortOrder()
const;
272 FXbool showHiddenFiles()
const;
275 void showHiddenFiles(FXbool flag);
278 FXbool showImages()
const;
281 void showImages(FXbool flag);
284 FXint getImageSize()
const;
287 void setImageSize(FXint size);
290 void showReadOnly(FXbool flag);
293 FXbool shownReadOnly()
const;
296 void setReadOnly(FXbool flag);
299 FXbool getReadOnly()
const;
302 void allowNavigation(FXbool flag);
308 void setDraggableFiles(FXbool flag);
311 FXbool getDraggableFiles()
const;
314 void setTimeFormat(
const FXString& fmt);
347 virtual void save(
FXStream& store)
const;
The Matrix layout manager automatically arranges its child windows in rows and columns.
Definition: FXMatrix.h:56
A File List widget provides an icon rich view of the file system.
Definition: FXFileList.h:131
FXbool allowNavigation() const
Is navigation allowed?
Definition: FXFileSelector.h:305
An icon source is a class that loads an icon of any type.
Definition: FXIconSource.h:47
Base composite.
Definition: FXComposite.h:32
Horizontal frame layout manager widget is used to automatically place child-windows horizontally from...
Definition: FXHorizontalFrame.h:36
A stream is a way to serialize data and objects into a byte stream.
Definition: FXStream.h:81
Definition: FX4Splitter.h:28
FXButton * cancelButton() const
Return a pointer to the "Cancel" button.
Definition: FXFileSelector.h:171
An Icon is an image with two additional server-side resources: a shape bitmap, which is used to mask ...
Definition: FXIcon.h:42
FXuint getSelectMode() const
Return file selection mode.
Definition: FXFileSelector.h:196
Packer is a layout manager which automatically places child windows inside its area against the left...
Definition: FXPacker.h:48
A text field is a single-line text entry widget.
Definition: FXTextField.h:63
Path selection widget.
Definition: FXPathBox.h:47
The FileAssociations object manages file associations between a file extension and a FileAssoc record...
Definition: FXFileAssociations.h:101
A Directory Box widget allows the user to select parts of a file path.
Definition: FXDirBox.h:49
Object is the base class for all objects in FOX; in order to receive messages from the user interface...
Definition: FXObject.h:138
The Recent Files group manages a most recently used (MRU) file list by means of the standard system r...
Definition: FXRecentFiles.h:49
A Combo Box provides a way to select a string from a list of strings.
Definition: FXComboBox.h:65
FXButton * acceptButton() const
Return a pointer to the "Accept" button.
Definition: FXFileSelector.h:168
File selection widget.
Definition: FXFileSelector.h:59
FXString provides essential string manipulation capabilities in FOX.
Definition: FXString.h:42