ui/motif/button.c

changeset 3
c1a75454b444
parent 0
1f419bd32da1
child 4
39b9b86ec452
equal deleted inserted replaced
2:eeb50c534497 3:c1a75454b444
56 e.window = event->obj->window; 56 e.window = event->obj->window;
57 // TODO: e.document 57 // TODO: e.document
58 e.intval = tb->set; 58 e.intval = tb->set;
59 event->callback(&e, event->user_data); 59 event->callback(&e, event->user_data);
60 } 60 }
61
62 void ui_push_button_callback(Widget widget, UiEventData *event, XtPointer d) {
63 UiEvent e;
64 e.obj = event->obj;
65 e.window = event->obj->window;
66 e.document = event->obj->document;
67 e.intval = 0;
68 event->callback(&e, event->user_data);
69 }

mercurial