jtc@motcad.portal.com (J.T. Conklin) (08/03/90)
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? --jtc -- J.T. Conklin CADnet Inc, San Ramon California jtc@motcad.portal.com, ...!portal!motcad!jtc
mikey@eukanuba.wpd.sgi.com (Mike Yang) (08/03/90)
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