Skip to content

gadtools.library

gadtools.library makes gadgets and menus in the standard look of AmigaOS. The gtlib command library offers its gadgets as Blitz commands; these calls give the full control of their tags and also its menus. A program that uses these calls opens the library when it starts; on a system without it, the calls must not be used.

Declared by deflibs library 236.

Calls

CallArgumentsRegistersOffset
CreateContext_(glistptr)a0-114
CreateGadgetA_(kind,gad,ng,taglist)d0, a0, a1, a2-30
CreateMenusA_(newmenu,taglist)a0, a1-48
DrawBevelBoxA_(rport,left,top,width,height,taglist)a0, d0, d1, d2, d3, a1-120
FreeGadgets_(gad)a0-36
FreeMenus_(menu)a0-54
FreeVisualInfo_(vi)a0-132
GetVisualInfoA_(screen,taglist)a0, a1-126
GT_BeginRefresh_(win)a0-90
GT_EndRefresh_(win,complete)a0, d0-96
GT_FilterIMsg_(imsg)a1-102
GT_GetGadgetAttrsA_(gad,win,req,taglist)a0, a1, a2, a3-174
GT_GetIMsg_(iport)a0-72
GT_PostFilterIMsg_(imsg)a1-108
GT_RefreshWindow_(win,req)a0, a1-84
GT_ReplyIMsg_(imsg)a1-78
GT_SetGadgetAttrsA_(gad,win,req,taglist)a0, a1, a2, a3-42
LayoutMenuItemsA_(firstitem,vi,taglist)a0, a1, a2-60
LayoutMenusA_(firstmenu,vi,taglist)a0, a1, a2-66