ui/motif/toolkit.c

changeset 28
794a5c91c479
parent 27
77b09bb52ca0
child 29
c96169444d88
equal deleted inserted replaced
27:77b09bb52ca0 28:794a5c91c479
86 appclose_fnc(NULL, appclose_udata); 86 appclose_fnc(NULL, appclose_udata);
87 } 87 }
88 uic_store_app_properties(); 88 uic_store_app_properties();
89 } 89 }
90 90
91 void ui_secondary_event_loop(int *loop) {
92 while(*loop && !XtAppGetExitFlag(app)) {
93 XEvent event;
94 XtAppNextEvent(app, &event);
95 XtDispatchEvent(&event);
96 }
97 }
98
91 void ui_show(UiObject *obj) { 99 void ui_show(UiObject *obj) {
92 uic_check_group_widgets(obj->ctx); 100 uic_check_group_widgets(obj->ctx);
93 XtRealizeWidget(obj->widget); 101 XtRealizeWidget(obj->widget);
94 } 102 }
95 103

mercurial