GadTools, 192, 367
BUTTON_KIND
GA_Disabled, 386, 387
GA_TabCycle, 387
GTIN_MaxChars, 387
GTIN_Number, 387
GTST_MaxChars, 387
GTST_String, 386
STRINGA_ExitHelp, 387
STRINGA_Justification, 387
STRINGA_ReplaceMode, 387
caveats
GadTools enforces Intuition limits, 375
GT_SetGadgetAttrs() and GT_BeginRefresh(), 386
PLACETEXT with GENERIC_KIND gadgets, 398
post-processing, 368
preserve bits set by CreatsGadget(), 398
refreshing the display, 382
restrictions on gadgets, 411
side effects, 412
CHECKBOX_KIND
GA_Disabled, 389
GTCB_Checked, 389
controlling gadgets from the keyboard, 404
CreateContext(), 399
CreateGadget(), 380
CreateMenus(), 374
CreateMenusA(), 374
creating gadgets, 380
CYCLE_KIND
GA_Disabled, 390
GTCY_Active, 390
GTCY_Labels, 390
DrawBevelBox(), 403
DrawBevelBoxA(), 403
examples
complete GadTools example, 406
gadget message filtering, 403
NewMenu structure, 369
slider gadget setup, 393
using CreateContext(), 400
using gadgets, 383
using the menu system, 372
using VisualInfo functions, 399
features of, 368
FreeGadgets(), 382
FreeMenus(), 377
function descriptions, 413
gadget types, 378, 386
button, 378, 386
checkboxes, 378, 389
cycle, 378, 390
generic gadget, 398
integer, 378, 386
listviews, 378, 394
mutually exclusive, 378, 389
numeric-display, 378, 397
palette, 378, 396
scrollers, 378, 393
sliders, 378, 391
string, 378, 386
text-display, 378, 397
gadgets, 378
GetVisualInfo(), 398
GetVisualInfoA(), 398
GTMENUITEM_USERDATA(), 372
GTMENU_USERDATA(), 372
GTMN_FrontPen(), 374
GTMN_TextAttr, 375
GT_BeginRefresh(), 402
GT_EndRefresh(), 402
GT_FilterIMsg(), 402
GT_GetIMsg(), 381
GT_PostFilterIMsg(), 402
GT_RefreshWindow(), 401
GT_ReplyIMsg(), 381
GT_SetGadgetAttrs(), 385
GT_SetGadgetAttrsA(), 385
handling gadget messages, 381
IDCMP flags, 382
implementing gadget keyboard equivalents, 404
language-sensitive menus, 378
LayoutMenuItems(), 376
LayoutMenuItemsA(), 376
LayoutMenus(), 375
LayoutMenusA(), 375
LISTVIEW_KIND
GTLV_Labels, 394
GTLV_ReadOnly, 395
GTLV_ScrollWidth, 395
GTLV_Selected, 395
GTLV_ShowSelected, 395
GTLV_Top, 395
LAYOUTA_Spacing, 395
menu layout, 180
menus, 368
menus and intuimessages, 377
minimal IDCMP_REFRESHWINDOW processing, 402
modifying gadgets - struct, 385
MX_KIND
GTMX_Active, 389
GTMX_Labels, 389
GTMX_Spacing, 390
NUMBER_KIND
GTNM_Border, 397
GTNM_Number, 397
PALETTE_KIND
GA_Disabled, 396
GTPA_Color, 396
GTPA_ColorOffset, 396
GTPA_Depth, 396
GTPA_IndicatorHeight, 396
GTPA_IndicatorWidth, 396
programming gadgets, 378
restrictions on menus, 377
reusing a NewGadget structure, 401
SCROLLER_KIND
GA_Disabled, 394
GA_Immediate, 394
GA_RelVerify, 394
GTSC_Arrows, 394
GTSC_Top, 393
GTSC_Total, 393
GTSC_Visible, 393
PGA_Freedom, 394
SLIDER_KIND
GA_Disabled, 392
GA_Immediate, 392
GA_RelVerify, 392
GTSL_DispFunc, 392
GTSL_Level, 391
GTSL_LevelFormat, 391
GTSL_LevelPlace, 391
GTSL_Max, 391
GTSL_MaxLevelLen, 391
GTSL_Min, 391
PGA_Freedom, 392
processing IntuiMessages, 392
struct NewGadget, 379
struct NewMenu, 370
TEXT_KIND
GTTX_Border, 397
GTTX_CopyText, 397
GTTX_Text, 397
[Back to Amiga Developer Docs]