home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cbmvax!cbmehq!cbmger!edohwg!heinz
- From: heinz@edohwg.UUCP (Heinz Wrobel)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Gadtools Question
- Message-ID: <heinz.02zg@edohwg.UUCP>
- Date: 14 Aug 92 21:48:40 GMT
- References: <1992Aug12.173302.29788@cabezon.uucp> <26880@sophia.inria.fr>
- Organization: Edotronik GmbH
- Lines: 38
-
- In article <26880@sophia.inria.fr> beust@rhea.inria.fr (Cedric Beust) writes:
- >In article <1992Aug12.173302.29788@cabezon.uucp>, darrinm@cabezon.uucp (Darrin Mossor) writes:
- >> ...
- >> So the question. Did Commodore
- >> a) Use some unstated method of moving and adding/removing GadTool
- >> Gadgets from the window?
- >> b) Use regular gadget that they caused to look and feel like GadTool
- >> Gadgets and then use AddGList/RemoveGList to alter the calendar?
- >> c) Violate their own RKM's?
- >> -or-
- >> d) Am I missing something obvious that I should be embarrassed about?
- >
- > Mmmh... just a guess : maybe they used Boopsi to achieve this?
- > Check out your RKM libraries, it's in there.
-
- To my knowlegde it's done like this:
-
- 1. Remove _all_ the gadgets.
- 2. FreeGadgets() them (Get rid of thos little buggers)
- 3. Check the new requirements and put together new gadgets
- 4 Maybe clear the gadget area "manually" with something like
- EraseRect()
- 5. Add the new GadTools gadgets and refresh them
- 6. Voila...
-
- Lot's of work but removing _all_ the gadgets, freeing them _all_ and
- redoing them _all_ seems to be the only way.
-
-
- >| Cedric BEUST University of Nice |
-
- --
- Heinz Wrobel, Edotronik GmbH (ECG018)
- FAX +49 89 850 51 25 / TEL +49 89 850 25 20 (HOME!&VOICE, sometimes...)
- Path: cbmehq!cbmger!edohwg!heinz@cbmvax.commodore.com
- "It's good to have a mouse, it's faster if you can do without one..."
- "He who doesn't develop with an A2024 doesn't know about font independent
- user interfaces..."
-