wong@h.cs.wvu.wvnet.edu (Hiulum Wong) (01/21/89)
I have tried to change the label of command widget and dialog widget at run time using XtSetValue on XtNlabel. It doesn't work. It works fine for label widget though. If you have any idea, please email to the following address. Thanks in advance. wong@b.cs.wvu.wvunet.edu
kit@ATHENA.MIT.EDU (Chris D. Peterson) (01/27/89)
From: mailrus!uflorida!haven!h.cs.wvu.wvnet.edu!wong@ohio-state.arpa > I have tried to change the label of command widget and dialog widget > at run time using XtSetValue on XtNlabel. It doesn't work. It works > fine for label widget though. If you have any idea, please email to > the following address. Thanks in advance. This is a (known) bug in the dialog widget. The workaround is to use XtNameToWidget() to find that actual label widget in the dialog, and change its label. The name of the label widget in the dialog is "label". Chris D. Peterson MIT X Consortium / Project Athena Net: kit@athena.mit.edu Phone: (617) 253 - 1326 USMail: MIT - Room E40-321 77 Massachusetts Ave. Cambridge, MA 02139