Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!apple!motcsd!mcdcup!mcdhup!mcdchg!ddsw1!proxima!undeed!ucthpx!uctcs.uucp!gram From: gram@uctcs.uucp (Graham Wheeler) Newsgroups: comp.windows.x Subject: Need help with Xw versus Xaw problem Message-ID: <1991Jan25.134059.23958@ucthpx.uct.ac.za> Date: 25 Jan 91 13:40:59 GMT Sender: news@ucthpx.uct.ac.za (UCT News Admin.) Reply-To: gram@uctcs.uucp (Graham Wheeler) Organization: Dept. of Computer Science, University of Cape Town Lines: 17 I have struggled all morning trying to get a simple program to draw a grid working using Xaw's viewport widget. After trying everything I could think of, I gave up, and thought I would see what happened if I used the HP widgets WorkSpace widget instead. Well, I should have done it earlier - the program worked immediately. It is a very simple program - it creates a viewport/workspace widget, sets a graphics context, then does a few calls to XDrawLine. Can anyone give me an explanation why I get no lines with the viewport widget? Is this widget unsuitable for graphics, and if so, what Xaw widget should I be using? I can mail the program (with ifdef's for HP) if this will help. Thanks in advance. Graham Wheeler | "Don't bother me, I'm reading a `Crisis'!" Data Network Architectures Lab| Internet: Dept. of Computer Science | Fidonet: University of Cape Town | BANG: <...uunet!ddsw1!olsa99!uctcs!gram>