cchang@evax.arl.utexas.edu (Cheng-yaw Chang) (03/13/91)
Hello, Thanks for the information I received the last time I posted a query. It was very helpful indeed ! I am working with WCL, using Athena widget set. Right now, I have come across a minor stumbling block. I am trying to open multiple widgets, each controlled by a different resource file. I have succeeded in setting my environment in my program, but I am having problems initializing the new resource file. I am using totally different callback routines, but when I try to open the new widget, it gives me a mass of errors concerning multiple attempts to initialize the database. However, it will still go ahead and open the second widget. I tried to fix this problem by doing a XtUnrealizeWidget instead of a XtDestroyWidget, but when I try to open the second widget, the old one pops up instead. How do I manipulate multiple resource files from the same program ? Now I have a totally different question. I have created a dialog widget. I am opening the widget and destroying it using the XtRealize Widget and XtUnrealizeWidget commands. However, when I open the widget again, the old data that I typed in the first time is still there. How do I clear my dialog widget to start fresh everytime ? Any information you may have is greatly needed and appreciated ! Thanks Cheng-Yaw Chang