At 11:48 AM 6/23/99 +0200, Didier Verna wrote:
Andy Piper <andy(a)xemacs.org> writes:
> XtSetKeyboardFocus is only used by Motif, not by XEmacs.
Then, I don't see how your widget can keep the keyboard focus,
even if
you click outside it. But what are those widgets anyway ? Lucid ? How
are
they
implemented ?
Motif. They are children of EmacsManager.
I beleive that if you call XtSetKeyboardFocus with a widget of
`None',
the keyboard focus will be switched back to the toplevel of the tree.
Ok, I'll try this.
If you want to receive special events for a particular window,
you
normally call XSelectInput to specify the events you're interested in, and
treat them in the event loop.
Ok, thanks.
andy
--------------------------------------------------------------
Dr Andy Piper
Senior Consultant Architect, BEA Systems Ltd