home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / sgi / 12766 < prev    next >
Encoding:
Internet Message Format  |  1992-08-21  |  1.1 KB

  1. Path: sparky!uunet!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!usc!rpi!kyriazis
  2. From: kyriazis@mistral.rdrc.rpi.edu (George Kyriazis)
  3. Newsgroups: comp.sys.sgi
  4. Subject: using the X event queue in a GL window
  5. Message-ID: <!sjy!yq@rpi.edu>
  6. Date: 22 Aug 92 01:35:17 GMT
  7. Organization: Rensselaer Design Research Center, RPI, Troy, NY
  8. Lines: 21
  9. Nntp-Posting-Host: mistral.rdrc.rpi.edu
  10.  
  11. Hello...
  12.  
  13. I am using X and GL at the same time.  I want to have one event loop for
  14. both my X interface and the GL window.
  15.  
  16. Is there a way to grab X events that occur on a GL window?  That looks like
  17. the best way so far, but I can't tell how to treat the GL graphics window
  18. as an X entity.
  19.  
  20. The very "hacky" way would be to rewrite XtMainLoop() so that it interleaves
  21. and dispatches events from both queues, but I really hope there is a better
  22. way..
  23.  
  24. Thanks..
  25.  
  26.   --george
  27. -- 
  28. ----------------------------------------------------------------------------
  29. George Kyriazis        |  Rensselaer Design Research Center, CII 7015,
  30. kyriazis@rdrc.rpi.edu  |   RPI, Troy, NY 12180.
  31. ----------------------------------------------------------------------------
  32.