ui/motif/list.h

branch
newapi
changeset 406
0ebf9d7b23e8
parent 153
ee49d1852a5f
equal deleted inserted replaced
405:a7f18dda6baf 406:0ebf9d7b23e8
35 35
36 #ifdef __cplusplus 36 #ifdef __cplusplus
37 extern "C" { 37 extern "C" {
38 #endif 38 #endif
39 39
40 typedef struct UiListView { 40
41 Widget widget;
42 UiVar *list;
43 ui_getvaluefunc getvalue;
44 } UiListView;
45
46 typedef struct UiListViewEventData {
47 UiEventData event;
48 UiVar *var;
49 } UiListViewEventData;
50
51 void* ui_strmodel_getvalue(void *elm, int column);
52
53 XmStringTable ui_create_stringlist(UiList *list, ui_getvaluefunc getvalue, int *count);
54 void ui_listview_update(UiEvent *event, UiListView *view);
55 void ui_list_selection_callback (Widget widget, UiListViewEventData *event, XtPointer data);
56
57 UIWIDGET ui_combobox_var(UiObject *obj, UiVar *var, ui_getvaluefunc getvalue, ui_callback f, void *udata);
58 41
59 #ifdef __cplusplus 42 #ifdef __cplusplus
60 } 43 }
61 #endif 44 #endif
62 45

mercurial