1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50 #ifndef XmLTreeH
51 #define XmLTreeH
52
53 #include "XmL.h"
54 #include "Grid.h"
55
56 #ifdef XmL_CPP
57 extern "C" {
58 #endif
59
60 extern WidgetClass xmlTreeWidgetClass;
61 typedef struct _XmLTreeClassRec *XmLTreeWidgetClass;
62 typedef struct _XmLTreeRec *XmLTreeWidget;
63 typedef struct _XmLTreeRowRec *XmLTreeRow;
64
65 #define XmLIsTree(w) XtIsSubclass((w), xmlTreeWidgetClass)
66
67 Widget XmLCreateTree(Widget parent,
char *name, ArgList arglist,
68 Cardinal argcount);
69 void XmLTreeAddRow(Widget w,
int level, Boolean expands, Boolean isExpaned,
70 int position, Pixmap pixmap, Pixmap pixmask, XmString string);
71 void XmLTreeAddRows(Widget w, XmLTreeRowDefinition *rows,
72 int count,
int position);
73 void XmLTreeDeleteChildren(Widget w,
int position);
74
75 #ifdef XmL_CPP
76 }
77 #endif
78 #endif
79