24 #ifndef FXTREELISTBOX_H 25 #include "FXTreeListBox.h" 32 class FXFileAssociations;
36 DIRBOX_NO_OWN_ASSOC = 0x00020000
68 long onTreeChanged(
FXObject*,FXSelector,
void*);
69 long onTreeCommand(
FXObject*,FXSelector,
void*);
70 long onCmdSetValue(
FXObject*,FXSelector,
void*);
71 long onCmdSetStringValue(
FXObject*,FXSelector,
void*);
72 long onCmdGetStringValue(
FXObject*,FXSelector,
void*);
76 FXDirBox(
FXComposite *p,
FXObject* tgt=
nullptr,FXSelector sel=0,FXuint opts=FRAME_SUNKEN|FRAME_THICK|TREELISTBOX_NORMAL,FXint x=0,FXint y=0,FXint w=0,FXint h=0,FXint pl=DEFAULT_PAD,FXint pr=DEFAULT_PAD,FXint pt=DEFAULT_PAD,FXint pb=DEFAULT_PAD);
79 virtual void create();
82 virtual void detach();
85 virtual void destroy();
88 virtual void save(
FXStream& store)
const;
94 void setDirectory(
const FXString& pathname,FXbool notify=
false);
100 void setAssociations(
FXFileAssociations* assoc,FXbool owned=
false,FXbool notify=
false);
Tree list Item.
Definition: FXTreeList.h:52
FXFileAssociations * getAssociations() const
Return file associations.
Definition: FXDirBox.h:103
Base composite.
Definition: FXComposite.h:32
A stream is a way to serialize data and objects into a byte stream.
Definition: FXStream.h:81
The Tree List Box behaves very much like a List Box, except that it supports a hierarchical, tree structured display of the items.
Definition: FXTreeListBox.h:53
Definition: FX4Splitter.h:28
An Icon is an image with two additional server-side resources: a shape bitmap, which is used to mask ...
Definition: FXIcon.h:42
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:134
FXString provides essential string manipulation capabilities in FOX.
Definition: FXString.h:42