home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / amiga / programm / 12342 < prev    next >
Encoding:
Internet Message Format  |  1992-08-15  |  1.8 KB

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