home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 3581 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1010 b 

  1. Path: trog.dra.hmg.gb!news
  2. From: icwhiting@dra.hmg.gb (Ian Whiting)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Changing Gadtools Gadgets
  5. Date: Wed, 21 Feb 1996 08:13:31 GMT
  6. Organization: RAF Innsworth
  7. Message-ID: <4geked$3mh@trog.dra.hmg.gb>
  8. References: <50332724@river.prima.ruhr.de>
  9. Reply-To: icwhiting@dra.hmg.gb
  10. NNTP-Posting-Host: 146.80.246.31
  11. X-Newsreader: Forte Free Agent v0.55
  12.  
  13.  
  14. Here it is, the OS friendly way of changing gadtools gadgets
  15. attributes (includes all the parameters passed to it in the tags)
  16.  
  17. Straight from the RKM Includes & Autodocs manual under Gadtools:
  18.  
  19. void GT_SetGadgetAttrsA( gad, win, req, taglist )
  20.                                             a0   a1   a2   a3
  21.  
  22. gad = pointer to gadget (returned after calling CreateGadget)
  23. win = Pointer to Window (returned after calling OpenWindowTags)
  24. req = Doesn't do anything at the present, set to NULL
  25. taglist = pointer to your new taglist for the gadget
  26.  
  27.  
  28.  
  29. So there it is.
  30.  
  31. Anyone got any ideas about my problem?
  32.  
  33.  
  34. Ian Whiting
  35.  
  36.