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 } |