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