ui/motif/toolkit.h

changeset 101
7b3a3130be44
parent 100
d2bd73d28ff1
equal deleted inserted replaced
100:d2bd73d28ff1 101:7b3a3130be44
41 typedef struct UiEventData { 41 typedef struct UiEventData {
42 UiObject *obj; 42 UiObject *obj;
43 ui_callback callback; 43 ui_callback callback;
44 void *userdata; 44 void *userdata;
45 int value; 45 int value;
46 void *customdata;
46 } UiEventData; 47 } UiEventData;
47 48
48 typedef struct UiEventDataExt { 49 typedef struct UiEventDataExt {
49 UiObject *obj; 50 UiObject *obj;
50 ui_callback callback; 51 ui_callback callback;
89 Widget ui_get_active_window(); 90 Widget ui_get_active_window();
90 91
91 void ui_secondary_event_loop(int *loop); 92 void ui_secondary_event_loop(int *loop);
92 void ui_window_dark_theme(Display *dp, Window window); 93 void ui_window_dark_theme(Display *dp, Window window);
93 94
94 void ui_destroy_eventdata(Widget w, XtPointer *data, XtPointer d); 95 void ui_destroy_eventdata(Widget w, XtPointer data, XtPointer d);
95 96
96 void ui_set_widget_groups(UiContext *ctx, Widget widget, const int *groups) ; 97 void ui_set_widget_groups(UiContext *ctx, Widget widget, const int *groups) ;
97 void ui_set_widget_ngroups(UiContext *ctx, Widget widget, const int *groups, size_t ngroups); 98 void ui_set_widget_ngroups(UiContext *ctx, Widget widget, const int *groups, size_t ngroups);
98 99
99 #ifdef __cplusplus 100 #ifdef __cplusplus

mercurial