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