kahlers@ux1.cso.uiuc.edu (08/17/90)
Problems with Translation Management
under the Xt Intrinsics...
Background : I create a widget with some default translations
under the Motif toolkit and need to repeatedly
change the translations on the widget during its
life. The translations that I need are created
using the XtParseTranslations(""), and stored
in 'static' locations in subroutines all over the
place. Now within the subroutine I use
XtUninstallTranslations(w) ---- (1)
followed by
XtOverrideTranslations(w) ---- (2)
install a new set of translations on the widget.
The current source is based on an Apollo 4500
running SR10.2 with Motif V1.0.
Problem : The creation of the translation table from the
corresponding "string" seems to work very well (at least
the program does not crash !#@%%!!). But for some
reason, quite sporadically, when I try to uninstall
the translations ( using (1) ) and override them
using (2), the program crashes. The behaviour is not
very consistant either...
Anybody seen something like this before...or any ideas.
Thanx guys...
=============================================================================\n\
Kem Ahlers kahlers.ux1.cso.uiuc.edu (Internet) \n\
Caterpillar, Inc. u36009@ncsagate (Bitnet) \n\
Peoria, IL USA "