home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / sgi / graphics / 118 < prev    next >
Encoding:
Text File  |  1993-01-11  |  935 b   |  26 lines

  1. Newsgroups: comp.sys.sgi.graphics
  2. Path: sparky!uunet!math.fu-berlin.de!fub!bitrot!thomas
  3. From: thomas@bitrot.in-berlin.de (Thomas Driemeyer)
  4. Subject: 24-bit Motif visual?
  5. Message-ID: <1993Jan10.191012.6213@bitrot.in-berlin.de>
  6. Organization: Thomas Driemeyer, Berlin
  7. Date: Sun, 10 Jan 1993 19:10:12 GMT
  8. Lines: 16
  9.  
  10. Maybe I am just too dense to see the obvious, but how can I have a Motif
  11. application come up with a 24-bit shell? I need a 24-bit DrawingArea, and
  12. I can't use a GLX widget because that would be nonportable.
  13.  
  14. Trying to fiddle with the shell XmNvisual is either ignored or terminates
  15. the application. Replacing XtAppInitialize() with an explicit Xt incantation
  16. and supplying appropriate arguments to XtAppCreateShell() doesn't help
  17. either. I always get "Visual: 0x25 (8 bit PseudoColor)" (says xwininfo).
  18.  
  19. Thanks for your help,
  20.  
  21. Thomas
  22. -- 
  23.  
  24. --
  25. Thomas Driemeyer        thomas@bitrot.in-berlin.de        voice: +49 30 8924936
  26.