Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!aplcen!haven!decuac!shlump.nac.dec.com!shodha.dec.com!4gl.enet.dec.com!schoeller From: schoeller@4gl.enet.dec.com (Dick Schoeller) Newsgroups: comp.windows.x Subject: Re: Getting ID for widget loaded from .uid? (Motif) Message-ID: <582@shodha.dec.com> Date: 10 Jan 90 15:18:55 GMT References: <223@uucs1.UUCP> Sender: news@shodha.dec.com Reply-To: schoeller@4gl.enet.dec.com (Dick Schoeller) Organization: Digital Equipment Corporation, Nausea, Cow Hampshire Lines: 19 > > I can't believe there isn't a simple, approved way to do this, but can't > see one for the life of me. > > I fetch a tree of widgets from my .uid file, and need the widget ID of > some of them so I can twiddle their resources on the fly. Trouble is, > I can't see a way of finding the widget ID. > Try making setting up a create callback for each of the widgets whose IDs you want to record. The create callback is a only available through uil since it is really called by mrm not the widget itself. Dick Schoeller | schoeller@4gl.enet.dec.com Digital Equipment Corporation | 603-881-2965 110 Spit Brook Rd., ZKO2-3/R56 | "Either Judaism has something to say to the Nashua, NH 03062-2642 | world or it has nothing to say to Jews." | - Dennis Prager