kochhar@endor.harvard.edu (Sandeep Kochhar) (07/11/89)
hi! I try to change the label of a dialog widget after it has been realized using: XtSetArg(args[0], XtNlabel, "foobar"); XtSetValues(dialog, args, ONE); Unfortunately, I get a core dump with an illegal instruction error. Has anyone else seen this problem? have you successfully done the above? thanks for any help Sandeep Kochhar (617) 495-9515 mail: kochhar@harvard.harvard.edu Harvard University kochhar@harvard.csnet 33 Oxford st, kochhar@harvard.uucp Cambridge, Ma 02138 kochhar@harvard.bitnet "If you didn't get this message, please let me know."
kit@EXPO.LCS.MIT.EDU (Chris D. Peterson) (07/12/89)
> I try to change the label of a dialog widget after it has > been realized using... [ code deleted ]. > Unfortunately, I get a core dump with an illegal instruction error. > Has anyone else seen this problem? have you successfully done the > above? Yep, it is a one line change to fix the core dump. If you want to fix it the bug is in Dialog's SetValues Proc, there is an args[1] where there should be an args[0]. Otherwise wait for the official fix in release 4, due out late this year. Chris D. Peterson MIT X Consortium Net: kit@expo.lcs.mit.edu Phone: (617) 253 - 9608 Address: MIT - Room NE43-213