home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / windows / x / 20692 < prev    next >
Encoding:
Text File  |  1993-01-02  |  2.2 KB  |  62 lines

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