Gadget, 318 - see also boopsi and gadtools actions with SGH_KEY, 161 ActivateGadget(), 150, 166, 321 activating a string gadget, 150 Activation flags, 123-124, 126, 131, 136-137, 154 active gadget, 323 AddGadget(), 166 AddGList(), 122, 129, 166 adding a gadget, 121 adjusting borders, 126 alternate border, 118, 127, 128 alternate image, 118, 127, 128 and requester, 204 Auto-Knob for proportional gadgets, 143 BeginRefresh(), 128 BeginUpdate(), 128 boolean gadgets, 129 boolinfo flags, 139 border gadgets, 126 Border Structure, 128 box gadget highlighting, 127, 128 button gadget, 118 Caveats do not share knob imagery, 143 do not use image lists for knobs, 143 GimmeZeroZero window border, 136 imagery and the selection box, 124 mouse tracking with boolean gadgets, 136 close gadget, 119 complement gadget highlighting, 127, 127 custom gadgets, 166 defined, 28 depth gadget, 119 disabling, 118, 130 down, 268 down message, 259 drag gadget, 119 enabling, 118, 130 EndRefresh(), 128 EndUpdate(), 128 Examples creating a simple gadget, 120 scroller support functions, 144 slider support functions, 145 string gadget with edit hooks, 162 updating a string gadget, 151 FontExtent(), 155 gadget flags, 122, 124, 127, 128, 128, 134, 154, 157 gadget imagery, 122 Gadget Structure, 119 GadgetID, 134 gadgets without imagery, 123 GFLG_DISABLED, 321 ghosted - see Gadgets disabling GMR_MEACTIVE, 321 GMR_NEXTACTIVE, 321 GMR_NOREUSE, 321 GMR_PREVACTIVE, 321 GMR_REUSE, 321 GM_GOINACTIVE, 322 Help key in string gadgets, 158 highlighting, 118 highlighting gadgets, 127 highlighting mutual exclude, 139 hit-select boolean gadget, 138 IDCMP Messages, 123-124, 128, 131 Image Structure, 128 imageless gadgets for mouse tracking, 123 implemention of, 318 in borders, 932 in new window, 107 in requester, 204, 206 in window border, 93 integer gadget, 150 Intuition Message classes, 119 Knob on proportional gadgets, 142 left mouse button, 118 Methods, 318 modifying gadgets, 122 ModifyProp(), 166 mutually exclusive, 140 NewModifyProp(), 147, 148, 166 ObtainGIRPort(), 323 OffGadget(), 130, 166 OnGadget(), 130, 166 position, 124 PropInfo flags, 140, 147 proportional gadget, 118, 140 proportional gadget container, 142 proportional gadget increment, 144 proportional gadget knob, 142 RefreshGadgets(), 166 RefreshGList(), 128, 129, 130, 166 refreshing gadgets, 128 relative position, 124 relative size, 124 ReleaseGIRPort(), 323 RemoveGadget(), 166 RemoveGList(), 122, 166, 322 removing a gadget, 121 screen gadgets, 119 Scroller, 141, 141 select box size, 125 select button, 118 SetEditHook(), 166 SGWork editing actions, 160 SGWork editing operations, 160 size gadget, 119, 124 Slider, 141, 142 SpecialInfo, 134 string gadget, 118, 148 string gadget editing, 158 string gadget modes, 157 string gadget with an alternate keymap, 156 struct BoolInfo, 139 struct Border, 123 struct Gadget, 132 struct IntuiMessage, 119 struct IntuiText, 123 struct PropInfo, 143, 144, 147 struct SGWork, 159 struct StringExtend, 157 struct StringInfo, 154, 155 system gadgets, 77, 91, 119 text gadget, 118 text justification, 154 toggle-select boolean gadget, 138 types of gadgets, 133, 138 up, 268 up message, 259 UserData, 134 using relative positioning, 125 window gadgets, 119 zoom gadget, 119