Docs » Autodocs » intuition.library » SetAttrsA
SetAttrsA -- Specify attribute values for an object. (V36) SetAttrs -- Varargs stub for SetAttrsA(). (V36)
result = SetAttrsA( Object, TagList ) D0 A0 A1 ULONG SetAttrsA( APTR, struct TagItem * ); result = SetAttrs( Object, Tag1, ... ) ULONG SetAttrs( APTR, ULONG, ... );
Specifies a set of attribute/value pairs with meaning as defined by a 'boopsi' object's class. This function does not provide enough context information or arbitration for boopsi gadgets which are attached to windows or requesters. For those objects, use SetGadgetAttrs().
Object = abstract pointer to a boopsi object. TagList = array of TagItem structures with attribute/value pairs.
The object does whatever it wants with the attributes you provide. The return value tends to be non-zero if the changes would require refreshing gadget imagery, if the object is a gadget.
This function invokes the OM_SET method with a NULL GadgetInfo parameter.
NewObject(), DisposeObject(), GetAttr(), MakeClass(), Document "Basic Object-Oriented Programming System for Intuition", and the "boopsi Class Reference" document.
|