(C) 1998 AROS - The Amiga Research OS


NAME
#include <proto/gadtools.h>
#include <proto/intuition.h>
#include <intuition/intuition.h>
#include <utility/tagitem.h>

void GT_SetGadgetAttrsA (gad , win , req , tagList)

LOCATION
In GadToolsBase at offset 7

SYNOPSIS
struct Gadget * gad
struct Window * win
struct Requester * req
struct TagItem * tagList

FUNCTION
Refreshes the given window. This function must be used instead of BeginRefresh(), if gadtools-gadgets are used. When you are finished with refreshing the window, you must call GT_EndRefresh().

INPUTS
gad
Gadget, for which the specified attributes should be set for.
win
Window, in which the gadget is.
req
Not used. Specify NULL for now.
tagList
List of attributes to set.

RESULT
The gadget may be set to the specified attributes.

EXAMPLE

SEE ALSO
GT _GetGadgetAttrsA(), intuition.library/ SetGadgetAttrsA()

NOTES
Note that there is no possibility to check, if the setting of an attribute was successful, except by getting the attribute and checking it. The setting of some attributes cannot fail. Refer to the description of the tags to check this.

BUGS

INTERNALS

HISTORY
20.10.1998 hkiel
Amiga Research OS
04.04.1997 ldp
Gadtools -> GadTools
25.03.1997 srittau
Initial revision