home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / sgi / graphics / 53 < prev    next >
Encoding:
Internet Message Format  |  1992-12-23  |  1.7 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!ames!sun-barr!sh.wide!wnoc-tyo-news!cs.titech!titccy.cc.titech!necom830!dgordon
  2. From: dgordon@necom830.cc.titech.ac.jp
  3. Newsgroups: comp.sys.sgi.graphics
  4. Subject: Re: Accessing popup planes with Xlib
  5. Message-ID: <2517@titccy.cc.titech.ac.jp>
  6. Date: 23 Dec 92 11:49:43 GMT
  7. References: <BzG13z.Bp9.2@cs.cmu.edu>
  8. Sender: news@titccy.cc.titech.ac.jp
  9. Followup-To: comp.sys.sgi.graphics
  10. Organization: Algorithmic Arts
  11. Lines: 29
  12.  
  13.  
  14. Paul Olbrich <drew+@cs.cmu.edu> writes:
  15.  
  16. > I'm trying to open a window in the popup planes using
  17. > Xlib calls.
  18. ...
  19. >
  20. > However, in step 5, I get a BadMatch error.  I'm also setting
  21. > "override_redirect" to True.  (I'm trying to make my own popup menus.)
  22. > Please please please someone help me.  What am I doing wrong?
  23. > What else must I do?
  24.  
  25. I have a related problem.  I would like to create a popup menu in the
  26. root window using mixed mode graphics but haven't been having much
  27. luck.  Passing a value of GLX_NONE for the normal buffer to GLXgetconfig
  28. (buffer = GLX_NORMAL, mode = GLX_BUFSIZE) does not have the desired
  29. effect.  GLXlink still expects a window id for the normal buffer.  I
  30. tried creating the normal window (leaving it unmapped) and making 
  31. the popup window a child of the root.  Nothing happens - neither errors
  32. nor visible effect when drawing to the popup window.  Also, creating the 
  33. popup as a child of the normal window and reparenting to the root window
  34. seems to have no effect.  Am I barking up the wrong tree?  Please, can 
  35. anyone offer advice on how to do this?
  36.  
  37. ____________________________________________________________________________
  38. Dave Gordon                                        dgordon@crow.omni.co.jp
  39.  
  40.