Re: Motif Q: Trapping a Key Press
1. You must Register an Event handler function by using XtAddEventHandler(Widget widget, EventMaskmask, BooleannonMaskable, XtEventHandler handler, XtPointe
Motif Q: Trapping a Key Press
Right now I have to work with Xt/Motif (against my will) and I have the following question: Let's suppose I have a window and I wish to make sure that whenever I press 'q' or 'h', a callback function is called. How do I do that? Please give me a step-by-step recipe. TIA, Shlomi Fish