battle@BATTLE.ESD.ORNL.GOV (David L. Battle) (02/08/90)
What is the proper argument sequence to type converters? The manual says: static Boolean CvtStringToPixel(display, args, num args, fromVal, toVal, converter data) but the code says: XmuCvtStringToOrientation(args, num_args, fromVal, toVal) XrmValuePtr *args; /* unused */ Cardinal *num_args; /* unused */ XrmValuePtr fromVal; XrmValuePtr toVal; Which is right? Either? Neither? Both? Am I missing something somewhere? Please send any followups to me personally by email. I usually read xpert on comp.windows.x but our news is badly broken at UT right now. Of course you can post followups of general interest also. -David L. Battle battle@battle.esd.ornl.gov battle@utkux1.utk.edu
rws@EXPO.LCS.MIT.EDU (Bob Scheifler) (02/08/90)
Which is right? Either? Neither? Both? Am I missing something somewhere? Both. XtConverter procs are the "old" (pre-R4) form, and XtTypeConverter procs are the "new" (R4) form. They get registered with different calls.