Path: utzoo!attcan!uunet!cs.utexas.edu!sdd.hp.com!ucsd!ucbvax!bloom-beacon!NUSC.NAVY.MIL!sheehyjp%v701.DECnet From: sheehyjp%v701.DECnet@NUSC.NAVY.MIL ("V701::SHEEHYJP") Newsgroups: comp.windows.x Subject: floats and XtSetArg Message-ID: <9007021151.AA13264@expo.lcs.mit.edu> Date: 2 Jul 90 11:48:00 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 11 I'm in the process of writing my first widget and I would like to use a variable type float as one of my resources. I have the converter (I'm using R3) and everything works fine when I use the default or if I place the float in a resource file, but when I try to hard code a value in my application using XtSetArg, the widget always gets a zero. How can I use XtSetArg to send a float to my widget? I hope there is someone out there who can help. Thank you, Jim sheehyjp@nusc.navy.mil