bonnett@seismo.CSS.GOV (H. David Bonnett) (12/13/90)
This is partly a UIL question and partly an Xt (I think) question.
I have a motif app that uses UIL to specify a bunch of widgets, including
menu buttons, and a whole lot of forms with TextFields in them. I have
been using c-identifier-like names eg: select_db_b1 for the object names.
This name is then passed by uil to the XtCreateWidget call. Unfortunately
this is not good for matching resources to the widgets. What my question
comes down to is the following:
1.) Is there a way to tell UIL to use a different name for the
XtCreateWidget call. The MrmCreateCallback happens after the
Create call.
2.) Is there a (semi-elegant) way to change the name (widget->core->name)
of a widget that has been created. I could possibly do the change
by brute force and set the field myself, but I wonder what the
side effects would be.....
Have others run into this or do you just generally choose better names for
your widgets?
Thanks in advance for any and all answers.
-dave bonnett; Center for Seismic Studies
bonnett@seismo.css.gov -