Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!ucbvax!bloom-beacon!dont-send-mail-to-path-lines From: niebres@mct-1.UUCP (Caroline Niebres) Newsgroups: comp.windows.x Subject: Widget questions Message-ID: <9104102135.AA05316@mct-1.com> Date: 10 Apr 91 21:35:51 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 44 Hi All! Sorry, I forgot to mention that I am using 11R3 and Motif 1.0. (I know, but hopefully soon we'll catch up! We're waiting for Interactive to get us up to date.) I need some guidence on a couple of things. In my application, many values are enter in engineering notation. The way I have dealt with this so far is to use two text widgets that are adjacent to each other. I chose not to use just a single text because the user can modify either the number or the units and affect the value to send out. I thought maybe subclassing with the two texts that would give me the value times the units when read. Would this be reasonable? What is the best way to go about this? Is there already something out there that does this? -------------- | -100.5 | mA| -------------- Another object that my application uses quite a bit of is a RowColumn that has a label, a widget like the above mentioned, two text widgets, and a toggle in that order. I need 256 of them. I need to be able to access the individual widgets in it. Is there a way to access them without having to save each individual widget ID? Do I need to subclass here as well? I also need to save the "state" of the application to a file. Of course, this means being able to come up in saved state by reading this file. Is there some standard way to do this? HELP! Thanks in advance. Caroline &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& ! Caroline Niebres Software Engineer ! ! Micro Component Technology, Inc. St. Paul, MN ! ! (612) 482 - 6335 uunet!mct-1!niebres ! &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&