Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!apple!well!bschoen From: bschoen@well.sf.ca.us (Brook Schoenfield) Newsgroups: comp.windows.x Subject: Re: Graphics Widget Message-ID: <24336@well.sf.ca.us> Date: 21 Apr 91 03:56:06 GMT References: <19114@rpp386.cactus.org> <1991Mar19.193342.28295@Think.COM> <1991Mar26.151607.1595@eng.umd.edu> <1991Apr16.202122.24348@leland.Stanford.EDU> Lines: 25 goins@elaine16.Stanford.EDU (daryl goins) writes: >I am trying to write some graphics in a XwworkSpaceWidget but I am getting >a window error. > printf("main %d, toplevel, %d framework %d\n",XtWindow(mainWindow), > XtWindow(topLevel), XtWindow(framework)); > XtRealizeWidget(topLevel); there is no window reference before a window is mapped (the realize call). Good luck -- Brook Schoenfield bschoen@well.sf.ca.us "How can our technology be used to create a peaceful, well fed world?" - burning question