Path: utzoo!attcan!uunet!decwrl!sgi!shinobu!odin!eukanuba.wpd.sgi.com!mikey From: mikey@eukanuba.wpd.sgi.com (Mike Yang) Newsgroups: comp.windows.x.motif Subject: Re: Getting widget values in uil application Message-ID: <11359@odin.corp.sgi.com> Date: 3 Aug 90 16:17:38 GMT References: <1990Aug3.055404.2995@motcad.portal.com> Sender: news@odin.corp.sgi.com Reply-To: mikey@sgi.com Organization: Silicon Graphics, Inc. Lines: 20 In article <1990Aug3.055404.2995@motcad.portal.com>, jtc@motcad.portal.com (J.T. Conklin) writes: |> What is the proper way to get the value of widget declared in a .uil |> file. I need to get it for arguments to XtSetsensitive() during the |> program's execution. |> |> At present, I am recording the value of the widgets I need via creation |> callbacks, but this seems a bit gross. Is there a better way? This is the method used by the Motif demos and seems like the way to go. An alternative is to use XtNameToWidget, but this doesn't seem any better. It really is too bad that uil can't share a C header file so that there isn't a dependency between the uil constant declarations and C constants. ----------------------------------------------------------------------- Mike Yang Silicon Graphics, Inc. mikey@sgi.com 415/335-1786