(C) 1998 AROS - The Amiga Research OS


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

IPTR SetGadgetAttrsA ( gadget , window , requester , tagList)

LOCATION
In IntuitionBase at offset 110

SYNOPSIS
struct Gadget * gadget
struct Window * window
struct Requester * requester
struct TagItem * tagList

FUNCTION
Sets some tags and provides gadget specific data. Prefer this to SetAttrsA(), if you are manipulating gadgets.

INPUTS
gadget
Change the attributes of this gadget
window
The window of the gadget
requester
The requester of the gadget (or NULL)
tagList
This is a list of attribute/value-pairs

RESULT
Depends in the class. For gadgets, this value is non-zero if they need redrawing after the values have changed. Other classes will define other return values.

EXAMPLE

SEE ALSO
NewObject(), SetAttrsA(), GetAttr(), DoGadgetMethodA(), "Basic Object-Oriented Programming System for Intuition" and "boopsi Class Reference" Dokument.

NOTES
This function sends OM_SET to the gadget object.

BUGS

INTERNALS
SetGadgetAttrsA(gad, win, req, tags) ist just a replacement for DoGadgetMethod(gad, win, req, OM_SET, tags, NULL).

HISTORY