home *** CD-ROM | disk | FTP | other *** search
- Path: yama.mcc.ac.uk!dmu!usenet
- From: Timothy Eves <se1te@dmu.ac.uk>
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: GadTools boolean BUTTON_KIND
- Date: Fri, 01 Mar 1996 15:28:22 +0000
- Organization: De Montfort Univerity
- Message-ID: <31371796.2F63@dmu.ac.uk>
- References: <4h2r69$949@azure.acsu.buffalo.edu>
- NNTP-Posting-Host: tlaloc.cms.dmu.ac.uk
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0 (X11; I; HP-UX A.09.05 9000/750)
-
- Ross Y Cohen wrote:
- > Is it possible, using GENERIC_KIND gadtools gadgets to _legally_ get a
- > gadtools button to behave like a CHECKBOX_KIND (boolean)?
-
- Yes, it because the GENERIC_KIND are just lowlevel pre-GadTools gadgets,
- but made accessable through GT for consitency.
-
- > If so, what fields do I have to set in the newgadget structure?
-
- If I remeber correctly, you create the GadTools gadget, then access the
- gadget structure and fill in the relevant fields as would if you were
- creating a gadget from scratch. I could send you some code I've written
- that uses GENERIC_KIND GadTools gadgets, or even nock together a small
- example of the above.
-
- Tim Eves
-
- P.S. Mail me with your reply as the news server seems to screw up
- ocasonaly.
- --
- ------------------------------------------------------------O----------------
- Out of the gloom came a voice, "Smile and be happy things| EMail To:
- could be worse", it said. So I smiled and I was happy,|
- se1te@dmu.ac.uk
- and behold things did get worse. |
- ------------------------------------------------------------O----------------
-