home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / fj / maillis / xwindow / 19041 < prev    next >
Encoding:
Internet Message Format  |  1993-01-01  |  1.6 KB

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