33 |
33 |
34 #ifdef __cplusplus |
34 #ifdef __cplusplus |
35 extern "C" { |
35 extern "C" { |
36 #endif |
36 #endif |
37 |
37 |
38 void ui_add_icon_gadget(Widget container, UiModelInfo *modelinfo, void *data); |
38 typedef struct UiTreeEventData { |
|
39 UiObject *obj; |
|
40 ui_callback activate; |
|
41 ui_callback selection; |
|
42 void *userdata; |
|
43 } UiTreeEventData; |
|
44 |
|
45 void ui_add_icon_gadget( |
|
46 Widget container, |
|
47 UiModelInfo *modelinfo, |
|
48 void *data, |
|
49 int index); |
39 char* ui_type_to_string(UiModelType type, void *data, Boolean *free); |
50 char* ui_type_to_string(UiModelType type, void *data, Boolean *free); |
|
51 |
|
52 void ui_table_action_callback( |
|
53 Widget widget, |
|
54 UiTreeEventData *event, |
|
55 XmContainerSelectCallbackStruct *sel); |
|
56 void ui_table_select_callback( |
|
57 Widget widget, |
|
58 UiTreeEventData *event, |
|
59 XmContainerSelectCallbackStruct *sel); |
40 |
60 |
41 |
61 |
42 #ifdef __cplusplus |
62 #ifdef __cplusplus |
43 } |
63 } |
44 #endif |
64 #endif |