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

  1. Path: sparky!uunet!spool.mu.edu!sgiblab!nec-gw!nec-tyo!wnoc-tyo-news!scslwide!wsgw!wsservra!onoe
  2. From: wieck@jwminhh.hanse.de (Jan Wieck)
  3. Newsgroups: fj.mail-lists.x-window
  4. Subject: Re: Xt question. Where are the pushbuttons?
  5. Message-ID: <1993Jan2.100118.7387@sm.sony.co.jp>
  6. Date: 2 Jan 93 10:01:18 GMT
  7. Sender: onoe@sm.sony.co.jp (Atsushi Onoe)
  8. Distribution: fj
  9. Organization: Private Site under Mach386
  10. Lines: 56
  11. Approved: michael@sm.sony.co.jp
  12.  
  13. Date: Sat, 2 Jan 1993 03:36:14 GMT
  14. Message-Id: <1993Jan2.033614.10305@jwminhh.hanse.de>
  15. Newsgroups: comp.windows.x
  16. References: <1i12v1INNgoi@usenet.INS.CWRU.Edu>
  17. Sender: xpert-request@expo.lcs.mit.edu
  18.  
  19. br762@cleveland.Freenet.Edu (Tim Werner) writes:
  20. : Please Help.
  21. : Trying to enter the "goodbye, world" program from "X Window System Toolkit",
  22. : by Asente & Swick.
  23. : It says,
  24. :    #include "Pushbutton.h"
  25. : I can't find this file anywhere. Is it a misprint? When I used MenuButton.h
  26. :
  27. : [lot of hacking deleted]
  28.  
  29. The above #include-statement requires a Pushbutton.h (case-sensitive)
  30. file in the current working directory. Even if Motif is installed on
  31. your system, it wouldn't be here.
  32.  
  33. You tried MenuButton instead, so I assume, that Motif isn't available
  34. (I think you found that name somewhere in the include-directories :-)
  35. In this case, you may bought the wrong book, because the examples are
  36. based on Motif.
  37.  
  38. PushButton is a Motif-Widget, that invokes a command if it is selected
  39. with a button press (similar to the Command Widget of the Athena- or the
  40. OblongButton Widget of the Open-Look-Widgetset). So if Motif isn't
  41. available, use Command instead because the Athena Widgets are included
  42. in MIT's standard distribution and should be available.
  43.  
  44. MenuButton is an Athena-Widget, invoking a menu (like the ButtonStack
  45. Widget in Open-Look or the CascadeButton in Motif). These require
  46. siblings to be displayed if they are selected. So the messages aren't
  47. a bug, they are a feature (debugging information).
  48.  
  49. For a good description of the Athena Widgets look into "The Definitive
  50. Guides to the X Window System"
  51.  
  52.     volume 4:    X Toolkit Intrinsics Programming Manual
  53.     volume 5:    X Toolkit Intrinsics Reference Manual
  54.  
  55.  
  56.  
  57. Until later, Jan
  58.  
  59. -- 
  60. # Any language keeps its own misunderstandings; #
  61. # why shouldn't programming languages do?       #
  62. #                                               #
  63. #            wieck@jwminhh.hanse.de (Jan Wieck) #
  64.