34 #ifdef __cplusplus |
34 #ifdef __cplusplus |
35 extern "C" { |
35 extern "C" { |
36 #endif |
36 #endif |
37 |
37 |
38 typedef struct UiTreeEventData { |
38 typedef struct UiTreeEventData { |
39 UiObject *obj; |
39 UiObject *obj; |
40 ui_callback activate; |
40 ui_callback activate; |
41 ui_callback selection; |
41 ui_callback selection; |
42 void *userdata; |
42 void *userdata; |
|
43 UiListSelection *last_selection; |
43 } UiTreeEventData; |
44 } UiTreeEventData; |
44 |
45 |
45 void ui_add_icon_gadget( |
46 void ui_add_icon_gadget( |
46 Widget container, |
47 Widget container, |
47 UiModelInfo *modelinfo, |
48 UiModelInfo *modelinfo, |
56 void ui_table_select_callback( |
57 void ui_table_select_callback( |
57 Widget widget, |
58 Widget widget, |
58 UiTreeEventData *event, |
59 UiTreeEventData *event, |
59 XmContainerSelectCallbackStruct *sel); |
60 XmContainerSelectCallbackStruct *sel); |
60 |
61 |
|
62 UiListSelection* ui_list_selection(XmContainerSelectCallbackStruct *xs); |
|
63 |
|
64 Boolean ui_compare_list_selection(UiListSelection *s1, UiListSelection *s2); |
|
65 |
61 |
66 |
62 #ifdef __cplusplus |
67 #ifdef __cplusplus |
63 } |
68 } |
64 #endif |
69 #endif |
65 |
70 |