Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!unmvax!deimos.cis.ksu.edu!rutgers!njin!princeton!phoenix!ssroy From: ssroy@phoenix.Princeton.EDU (Steve Scot Roy) Newsgroups: comp.windows.x Subject: XUI Message-ID: <7935@phoenix.Princeton.EDU> Date: 24 Apr 89 19:34:56 GMT Organization: Princeton University, NJ Lines: 29 Is anyone out there using the DEC User Interface Language and the associated toolkits? I am trying to do something that ought to be simple. I just want to put up a window and be able to use Xlib routines on it. None of the examples they send do this, and none of the documentation mentions it. Now, I know how to do this with Athena widgets -- use XtWindow(widget) to get a window and related calls to set up a graphics context and so on. When I try this on a variety of widgets in the X User Interface (XUI) it just screams and dies. Has anybody seen how to do this? Is there something special I need to do? Does anybody have an example of how to do this? Is this an effect of the crosstalk between Xt and Xaw that people have been mentioning lately? Thanks in advance. More generally, in the athena widgets, the HP widgets and now the DEC widgets, no mention is ever made in the documentation of how to use the Xlib routines in widgets. Do the designers of the widgets think this is such a rare thing to do that it is not worth explaining how to draw a line from point A to point B in a widget? Let me take this opportunity to say that I don't think it is, and that it would be so easy to include a very simple example or two in the documentaton to relieve a great deal of frustration for the people using these systems. steve roy ssr@courant.princeton.edu