home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / windows / x / 20681 < prev    next >
Encoding:
Internet Message Format  |  1993-01-01  |  1.4 KB

  1. Path: sparky!uunet!gatech!usenet.ins.cwru.edu!cleveland.Freenet.Edu!br762
  2. From: br762@cleveland.Freenet.Edu (Tim Werner)
  3. Newsgroups: comp.windows.x
  4. Subject: Xt question. Where are the pushbuttons?
  5. Date: 1 Jan 1993 09:30:09 GMT
  6. Organization: Case Western Reserve University, Cleveland, OH (USA)
  7. Lines: 31
  8. Message-ID: <1i12v1INNgoi@usenet.INS.CWRU.Edu>
  9. Reply-To: br762@cleveland.Freenet.Edu
  10. NNTP-Posting-Host: hela.ins.cwru.edu
  11.  
  12.  
  13. Please Help.
  14.  
  15. Trying to enter the "goodbye, world" program from "X Window System Toolkit",
  16. by Asente & Swick.
  17.  
  18. It says,
  19.  
  20.    #include "Pushbutton.h"
  21.  
  22. I can't find this file anywhere. Is it a misprint? When I used MenuButton.h
  23. instead, I got an error from "pushbuttonWidgetClass". When I changed that
  24. to "menuButtonWidgetClass", I get errors from the server "can't find button
  25. named "menu". When I changed "button" to "menu" in the XtCreateManagedWidget
  26. call, the program quit when I pressed the quit button, but I got the error:
  27.  
  28.    Error: XtPopup requires a subclass of shellWidgetClass
  29.  
  30. Also, what to do about the start-up messages:
  31.  
  32.    Warning: Widget class VendorShell version mismatch (recompilation needed):
  33.      widget 11004 vs. intrinsics 11003.
  34.    <etc.>
  35.  
  36. p.s., I was just barely able to get this program to link, but that's another
  37. story. At any rate, it finally did with no ld errors. yaay.
  38.  
  39. Thanx if you can help. I don't see anything about this in the faq-file.
  40. tim w
  41.  
  42. -- 
  43.