Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!insignia.UUCP!justin From: justin@insignia.UUCP (Justin Koprowski) Newsgroups: comp.windows.x Subject: Problem with HP public domain textedit widget Message-ID: <22602.8906121634@bendix.insignia.co.uk> Date: 12 Jun 89 16:34:20 GMT Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 52 I have a program based on the HP public domain widgets and instrinsics. Whenever I run it I get a toolkit warning of the form "Overriding previous translation manager actions". This happens when the first textedit widget is created. The same program works fine if it's compiled on an HP machine using the default Xt library. I'm working on another platform, (Tektronix), which has R3 intrinsics so I have to use the R2 public domain software for the HP widgets to work. A small example program is included. Does anyone have any ideas on this one ? Are there any patches I've missed ? Thanks in advance, Justin Koprowski justin@insignia%ukc.ac.uk Insignia Solutions Ltd., Carrington House, Oxford Road, Bucks UK ------------------------------------------------------------------------------ #include #include #include #include main(argc, argv) int argc; char *argv[]; { Arg arglist[10]; /* Argument list for X toolkit functions */ Widget top_level, test_box; top_level = XtInitialize("main", "TEst", NULL, NULL, &argc, argv); /* * Create a textedit box 250 x 25. */ XtSetArg(arglist[0], XtNwidth, 250); XtSetArg(arglist[1], XtNheight, 25); test_box = XtCreateManagedWidget("test_box", XwtexteditWidgetClass, top_level, arglist, 2); XtPopup(top_level, XtGrabExclusive); XtMainLoop(); }