[Contents] [Index] [Help] [Retrace] [Browse <] [Browse >]


NAME
    SetAttrsA -- Specify attribute values for an object. (V36)
    SetAttrs -- Varargs stub for SetAttrsA(). (V36)

SYNOPSIS
    result = SetAttrsA( Object, TagList )
    D0                  A0      A1

    ULONG SetAttrsA( APTR, struct TagItem * );

    result = SetAttrs( Object, Tag1, ... )

    ULONG SetAttrs( APTR, ULONG, ... );

FUNCTION
    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().

INPUTS
    Object = abstract pointer to a boopsi object.
    TagList = array of TagItem structures with attribute/value pairs.

RESULT
    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.

NOTES
    This function invokes the OM_SET method with a NULL GadgetInfo
    parameter.

BUGS

SEE ALSO
    NewObject(), DisposeObject(), GetAttr(), MakeClass(),
    Document "Basic Object-Oriented Programming System for Intuition"
    and the "boopsi Class Reference" document.