[comp.windows.x] Getting back the name of an instantiated widget.

lalonde@ug.cs.dal.ca (Paul Lalonde) (11/22/89)

	I have a program in which a series of buttons represent individual
days in a calendar.  Each button is instantiated with the date represented
by it as it's name.  I attach the same callback to each, and now I would
like to identify which button the callback is comming from.  The catch
is that I don't want to keep around a whole bunch of call lists with
only the client data parameter is changing.

	Ideally I'd like to be able to get back the widget's name
given it.  


	Any ideas?


(if it helps I'm using the Xhp widgets, and these buttons are of
XwpushButtonWidgetClass)


	-Paul


 Paul A. Lalonde	 UUCP: ...{uunet|watmath}!dalcs!dalcsug!lalonde
 Phone: (902)423-4748	 BITNET: 05LALOND@AC.DAL.CA

	"The only true law is that which leads to freedom"
			- Richard Bach, _Jonathan Livingston Seagull_