Path: utzoo!attcan!uunet!cs.utexas.edu!tut.cis.ohio-state.edu!bloom-beacon!BULLWINKLE.UNM.EDU!plunge From: plunge@BULLWINKLE.UNM.EDU (stephanie hallett-U) Newsgroups: comp.windows.x Subject: widgets and their names Message-ID: <8907082311.AA09591@bullwinkle.unm.edu> Date: 8 Jul 89 23:11:47 GMT Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 30 Hello, We are writing a large application which is using X11R3. We are using the Athena widgets and the Xtoolkit (Xaw and Xt). The type of machines we are writing under are PMAX, SUN3 and VAX. We are trying to create a program which stores certain events for widgets in a journal. The journal can then be used by other users to see what the "instructor" had done. We would like to do this by storing the widgets full name along with the event, and then retrieve the widget from that name later on. We know that there are proposals event playback, but we want to be able to use the journal to perform the same process on different data sets. The two questions we have are: 1) Given a widget, how do you get the full xrm resource name. 2) Given the full xrm resource name, how do you get the widget. NOTE: We tried using XtNameToWidget(root,name), but during playback we do not have access to all root (toplevel) widgets. thanks in advance stephanie please respond directly to me at the following e-mail address plunge@bullwinkle.unm.edu