home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cbmvax!peter
- From: peter@cbmvax.commodore.com (Peter Cherna)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: GadTools and String Gadget Callback Hooks
- Message-ID: <36705@cbmvax.commodore.com>
- Date: 5 Nov 92 13:21:02 GMT
- References: <1992Nov5.025409.17427@u.washington.edu>
- Reply-To: peter@cbmvax.commodore.com (Peter Cherna)
- Organization: Commodore-Amiga, Inc. West Chester, PA.
- Lines: 26
-
- In article <1992Nov5.025409.17427@u.washington.edu> cooper@carson.u.washington.edu (Ken Cooper) writes:
- >
- > I have been unsucessfully trying for a couple of days to get string gadget
- >callback editing hooks to work with GadTools STRING_KIND gadgets. I have
- >been able to successfully do this with regular intuition string gadgets, but
- >the gadtools gadget does not seem to call the hook. I would appreciate it if
- >someone could provide some insight on whether or not the callback hooks
- >actually work with gadtools gadgets or not.
-
- GadTools string gadgets _are_ Intuition string gadgets, with a friendly
- creation/handling/deletion wrapper. String edit hooks work fine.
- ASL uses them. Use the GTST_EditHook tag, with a pointer to your hook
- structure. The same hook that works for your own hand-defined string
- gadgets will work with GadTools string and integer gadgets.
-
- #define GTST_EditHook GT_TagBase+55 /* String EditHook */
-
- >Ken Cooper
-
- Peter
- --
- Peter Cherna, User Interface Development Group, Commodore-Amiga, Inc.
- {uunet|rutgers}!cbmvax!peter peter@cbmvax.commodore.com
- My opinions do not necessarily represent the opinions of my employer.
- "I believe it's bad luck to be superstitious."
-
-