oemcke@cs.flinders.OZ.AU (Susan Annette Oemcke) (06/26/91)
I am creating a UIMS where the user places widgets on the canvas where they want them. They can then save this info in a file and read it back latter. I'm saving the name of the widget as a string. My query is how to get it back from a string to a widget. I have looked at the example in Swick and Asente p.174. In this they use XtNameToWidget, but in their write up they say that the converter returns the child. I'm interested in returning the actual widget not its children, as most of them don't have children. Will XtNameToWidget do what I would like to do? If so any suggestions as to how to actually do it? Any ideas greatly appreciated. Sue (oemcke@cs.flinders.oz.au)