[comp.windows.x.motif] Widget questions

niebres@mct-1.UUCP (Caroline Niebres) (04/11/91)

	Hi All!

	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	 !
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&