[comp.windows.x] Need help in Motif VirtualBindings

tsai@Veritas.COM (Cary Tsai) (02/21/91)

Is any function in Motif to take a virtual translation string as input and
return a standard Xt toolkit Intrinsic's translation string like 
'OlConvertVirtualTranslation' in Open Look ? I would like to use <BSelect>,
<BDrag>,and <BMenu>  symbolic names in my widget instead of <Btn1>...
In Motif Programmer's Reference manual (Release 1.1), VirtualBindings(3X) 
mentions virtual buttons but does not provide any function allow programmer
to use <BMenu> rather than <Btn3> in the widget. 

In Open Look, widget programmer can use <SELECT> instaed of <Btn1> in 
defaultTranslations[], and call function 'OlConvertVirtualTranslation' to 
translate <SELECT> to <Btn1> if user wants to use default button bindings. 
User can redefine <SELECT> to other button in his/her resource file 
(For example, .Xdefaults). Is any similar function in Motif to convert
virtual translation string to Xt Intrinsic's string ?  

Any help are appreciated.