Path: utzoo!censor!geac!jtsv16!uunet!ginosko!gem.mps.ohio-state.edu!tut.cis.ohio-state.edu!bloom-beacon!SEI.CMU.EDU!Erik.Hardy From: Erik.Hardy@SEI.CMU.EDU Newsgroups: comp.windows.x Subject: re: Novice question Message-ID: <8909071335.AA02794@gh.sei.cmu.edu> Date: 7 Sep 89 13:35:21 GMT Organization: The Internet Lines: 27 From: mcsun!hp4nl!eutrc3!euteal!mart@uunet uu net (Mart van Stiphout) >Hi, >I just started experimenting with the x toolkit to >see if its usefull for a new apllication I'm >intending to write. What puzzles me is the following: >How can I get an ordinary window into the widget >hierarchy? Ordinary means: a window in which I can draw >using the Xlib primitives. Can anyone give me some advice >(or maybe even an example program). We have a canvas widget and several modules for drawing graphics (lines, circles, etc.), so that you can do what you want under Xt instead of Xlib. These are experimental and haven't been fully tested, but we know that lines work and the others were built the same way. If anyone is interested, send me mail and I'll send it out. >Thanks in advance, >Mart van Stiphout >mart@euteal.uucp or mart@euteal.ele.tue.nl or mcvax!hp4nl!eutrc3!euteal!mart Erik Hardy (erik@sei.cmu.edu) SEI/User Interface Project