home *** CD-ROM | disk | FTP | other *** search
- Path: trog.dra.hmg.gb!news
- From: icwhiting@dra.hmg.gb (Ian Whiting)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Changing Gadtools Gadgets
- Date: Tue, 20 Feb 1996 08:10:24 GMT
- Organization: RAF Innsworth
- Message-ID: <4gbvtf$2id@trog.dra.hmg.gb>
- References: <50332724@river.prima.ruhr.de> <Dn1M8x.Gp3@cf.ac.uk>
- Reply-To: icwhiting@dra.hmg.gb
- NNTP-Posting-Host: 146.80.246.31
- X-Newsreader: Forte Free Agent v0.55
-
- wardle@cf.ac.uk (Mark Wardle) wrote:
-
- >Gadtools gadgets cannot be changed once created. You create a list of
- >gadgets and you must treat the list as one whole thing. You cannot access
- >any gadgets within the list directly using standard intuition gadget calls.
-
- No you cannot change gadtools gadgets using standard intuition calls,
- but there is a gadtools library routine which allows you to alter the
- tags for it
-
- >The only thing you can do to a gadtools gadget is to toggle the
- >GA_Disabled flag as far as I can remember.
-
- You can disable them, but I don't believe that you are allowed to use
- to intuition OnGadget and OffGadget routines.
-
- >If you want to have one gadget alone, which you can add and remove from a
- >window, then you must create a seperate gadtools gadget list. A
- >significant problem with this however is when you remove the gadget you
- >always need to remove to the end of the list (read the gadtools docs).
- >Therefore, really you can only add and remove one set of gadgets to a
- >window, any more and you will run into problems. (Perhaps not on current
- >versions... and depending on the gadget types).
-
- Thats just sprung off an idea.....
-
- >I just wish gadtools was an easy way of accessing standard BOOPSI
- >gadgets, so people who want to setup nice GUIs can directly add BOOPSI
- >gadgets to their windows etc... rather than trying to mess about with
- >bloody gadtools.
-
- Would be nice.
-
- >This is one of the things on my wishlist for OS4..
-
- Gadtools should definatly be expanded and improved in version 4. I
- certainly prefer to use it than and of the PD gadget libraries just
- because it is one which everyone has got (WB2+) and is part of the
- standard.
-
-
-
- >Yours,
- >Mark Wardle
-
-
- Thank you.
-
- Ian.
-
-