home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / amiga / programm / 13020 < prev    next >
Encoding:
Internet Message Format  |  1992-09-02  |  1.9 KB

  1. Path: sparky!uunet!dtix!darwin.sura.net!uvaarpa!adastra!mbs
  2. From: mbs@adastra.cvl.va.us (Michael B. Smith)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: More GADTOOLS questions...
  5. Message-ID: <mbs.0xis@adastra.cvl.va.us>
  6. Date: 2 Sep 92 22:36:42 GMT
  7. Organization: Private UUCP Node
  8. Lines: 31
  9. X-NewsSoftware: GRn 1.16f (beta) by Mike Schwartz & Michael B. Smith
  10.  
  11. In article <1992Sep2.125721.20386@sparky.imd.sterling.com> chris@.IMD.Sterling.COM (Chris Olson) writes:
  12. >       1)  Is there anyway to get the current status of a cycle gadget
  13. >           from gadtools?  (Like getting the string from a string gadget)
  14. >
  15. >       2)  How about list, check boxs and mutual excludes?
  16.  
  17. Nope. Not "legally". Although there are some pretty decent hacks on 2.04
  18. you can use, but they aren't "legal" (hint: a gadget is a gadget is a....).
  19.  
  20. >       3)  Is there some good example code that I can read?  So far my
  21. >           program seems to be working out just fine, but I'd like too
  22. >           do things the right way...
  23.  
  24. >       4)  I remember reading a discussion on how to simulate a requester
  25. >           a while back.  Anybody remember what the consensus was?
  26.  
  27. Take a look at requesters.c of GRn-1.16e-src.lha -- the code is pretty
  28. clean, I think.
  29.  
  30. V37 of gadtools.library has some weirdnesses when GT messages get queued up.
  31. It tends to cause the machine to lock up. GRn opens a 1x1 requester whenever
  32. it is "busy", and uses windows to simulate requesters.
  33.  
  34. The problem with real requesters is that GT's aren't locked out, unless they
  35. are explicitly disabled (not a chance you'd do that for speed purposes if you
  36. have more than one). So, if the user goes clicking away around the screen,
  37. you've got a hung machine....(it is quite possible that Myke or I did something
  38. wrong in GRn -- but we don't think so, and no one has pointed it out to us).
  39. --
  40.   //   Michael B. Smith
  41. \X/    mbs@adastra.cvl.va.us  -or-  uunet.uu.net!virginia.edu!adastra!mbs
  42.