24 #ifndef FXTREELISTBOX_H
25 #define FXTREELISTBOX_H
83 FXTreeListBox(
FXComposite *p,
FXObject* tgt=
NULL,
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);
86 virtual void create();
89 virtual void detach();
92 virtual void destroy();
95 virtual void layout();
98 virtual void enable();
101 virtual void disable();
104 virtual FXint getDefaultWidth();
107 virtual FXint getDefaultHeight();
110 FXint getNumItems()
const;
113 FXint getNumVisible()
const;
116 void setNumVisible(
FXint nvis);
191 void sortRootItems();
224 void setItemData(
FXTreeItem* item,
void* ptr)
const;
227 void* getItemData(
const FXTreeItem* item)
const;
236 FXbool isPaneShown()
const;
239 void setFont(
FXFont* fnt);
245 FXuint getListStyle()
const;
248 void setListStyle(
FXuint style);
251 void setHelpText(
const FXString& txt);
254 const FXString& getHelpText()
const;
257 void setTipText(
const FXString& txt);
263 virtual void save(
FXStream& store)
const;
Search forward (default)
Definition: fxdefs.h:370
char FXchar
Definition: fxdefs.h:387
Tree list Item.
Definition: FXTreeList.h:63
Definition: FXWindow.h:241
unsigned int FXuint
Definition: fxdefs.h:396
FXuint FXSelector
Association key.
Definition: FXObject.h:53
A Tree List Widget organizes items in a hierarchical, tree-like fashion.
Definition: FXTreeList.h:235
FXint(* FXTreeListSortFunc)(const FXTreeItem *, const FXTreeItem *)
Tree item collate function.
Definition: FXTreeList.h:208
#define FXAPI
Definition: fxdefs.h:122
FXuchar FXbool
Definition: fxdefs.h:393
Sunken border.
Definition: FXWindow.h:76
Base composite.
Definition: FXComposite.h:35
Normal style.
Definition: FXTreeListBox.h:39
#define NULL
Definition: fxdefs.h:41
A stream is a way to serialize data and objects into a byte stream.
Definition: FXStream.h:99
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:60
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
#define FALSE
Definition: fxdefs.h:35
Object is the base class for all objects in FOX; in order to receive messages from the user interface...
Definition: FXObject.h:166
Thick border.
Definition: FXWindow.h:78
Wrap around to start.
Definition: fxdefs.h:373
Font class.
Definition: FXFont.h:142
#define FXDECLARE(classname)
Macro to set up class declaration.
Definition: FXObject.h:92
FXString provides essential string manipulation capabilities.
Definition: FXString.h:33