Don't call ReadArgs() if started from WB.
[tangerine.git] / compiler / alib / setsuperattrs.c
blob80ca45d28aa0ecba11bb72764cd13434122828aa
1 /*
2 Copyright © 1995-2003, The AROS Development Team. All rights reserved.
3 $Id$
5 Set attributes in a specific class
6 */
8 #define INTUITION_NO_INLINE_STDARG
10 #define AROS_TAGRETURNTYPE IPTR
12 #include <intuition/classes.h>
13 #include <intuition/intuitionbase.h>
14 #include "alib_intern.h"
16 /*****************************************************************************
18 NAME */
19 #include <intuition/classusr.h>
20 #include <proto/intuition.h>
22 IPTR SetSuperAttrs (
24 /* SYNOPSIS */
25 Class * class,
26 Object * object,
27 Tag tag1,
28 ...)
30 /* FUNCTION
31 Changes several attributes of an object at the same time. How the
32 object interprets the new attributes depends on the class.
34 INPUTS
35 class - Assume that the object is of this class.
36 object - Change the attributes of this object
37 tag1 - The first of a list of attribute/value-pairs. The last
38 attribute in this list must be TAG_END or TAG_DONE.
39 The value for this last attribute is not examined (ie.
40 you need not specify it).
42 RESULT
43 Depends in the class. For gadgets, this value is non-zero if
44 they need redrawing after the values have changed. Other classes
45 will define other return values.
47 NOTES
48 This function sends OM_SET to the object.
50 EXAMPLE
52 BUGS
54 SEE ALSO
55 NewObject(), DisposeObject(), GetAttr(), MakeClass(),
56 "Basic Object-Oriented Programming System for Intuition" and
57 "boopsi Class Reference" Dokument.
59 INTERNALS
61 HISTORY
62 29-10-95 digulla automatically created from
63 intuition_lib.fd and clib/intuition_protos.h
65 *****************************************************************************/
67 struct opSet ops;
69 ops.MethodID = OM_SET;
70 ops.ops_AttrList = &tag1;
71 ops.ops_GInfo = NULL;
73 return DoSuperMethodA(class, object, (Msg)&ops);
74 } /* SetSuperAttrs */