[Contents] [Index] [Help] [Retrace] [Browse <] [Browse >]

Intuition also supports custom gadgets, where the application can supply
to Intuition its own code to manage gadgets.  This allows the creation of
gadgets with behavior quite different from standard boolean, proportional,
or string gadgets.  For example, it would be possible to create a dial
gadget, where the user could rotate the knob of a gadget.  The code for a
custom gadget needs to respond to various commands and requests from
Intuition, such as "is this pixel in your hit-area?", "please go active"
and "please go inactive".

Intuition has an object-oriented creation and delegation method called
BOOPSI, that allows custom gadgets to be easily created, deleted,
specialized from existing classes of custom gadget, and so on.  See the
Intuition chapter "BOOPSI" for details.


[Back to Amiga Developer Docs]