I have the native widget code working under X but am being stymied by focus
problems. If anyone can tell me a reasonable plan of attack, I would be
grateful because I don't understand enough about X.
Basically the problem is that if you click on a widget in a buffer (e.g. a
PushButton) the widget gets the keyboard focus and never gives it back -
even if I switch frames and then back again.
The solution to my problem would seem to be to call XtSetKeyBoardFocus
somewhere, but I'm not sure where. The easy answer is to bury it deep
inside the Xt event code, but I doubt this is the right answer.
Is the Input focus different to the Keyboard focus under X?
What does XEmacs assume about the keyboard focus?
Can anyone explain the focus model ??????
andy
--------------------------------------------------------------
Dr Andy Piper
Senior Consultant Architect, BEA Systems Ltd
Show replies by date