I have a problem of setting the selection on the Option Menu without using mouse.
I created an Option Menu, normally I can use the mouse event to chang the selection, but if I want to change the selection internally, does Motif allow me to do that?
Thanks!
Tue, 07/24/2012 - 13:31
#1
select option menu without using mouse
Set XmNmenuHistory. I assume you mean "programmatically" rather than "using the keyboard instead of the mouse".
Thank you very much! dbl
I used XmNmenuHistory, it works perfectly.
I try to use XmProcessTraversal but didn`t work, do you know why?
Yan
Because changing focus requires a widget, which may already have the focus; it is the display that needs changing.