[Date Prev] [Date Next] [Thread Prev] [Thread Next] Date Index Thread Index Search archive:
Date:Mon Mar 3 10:59:05 2000 
Subject:Xpw create window? 
From:Paul C Maddox 
Volume-ID:1000303.01 

Hi,

I'm working on a 2nd year POP-11 project.

We're having lots of problems with graphics at the moment, and I'm trying
to get some Xpw POP-11 commands working so we can show the graphics
without flicker/sheering.

I've currently got the following lines:

----
vars myw;
lconstant XpwGraphic = XptWidgetSet("Poplog")("GraphicWidget");

XptNewWindow('Testwin',{1 1},[],XpwGraphic,[{mappedWhenManaged
^false}]) -> myw;

;;;code to show window

XpwSetColor(myw,'black');
XpwDrawLine(myw,0,0,10,10);
----

I /THINK/ that code works, but the code doesn't display a window, so I
can't be sure. I'd like to know the Xpw/Xpt command to show the window.

Thanks for your time.

Paul.