2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
5 Desc: Change the attributes of a BOOPSI gadget
9 #define AROS_TAGRETURNTYPE IPTR
11 #include <intuition/classes.h>
12 #include <intuition/intuitionbase.h>
13 #include "alib_intern.h"
15 extern struct IntuitionBase
* IntuitionBase
;
17 /*****************************************************************************
20 #include <intuition/classusr.h>
21 #include <intuition/intuition.h>
22 #define NO_INLINE_STDARG /* turn off inline def */
23 #include <proto/intuition.h>
28 struct Gadget
* Gadget
,
29 struct Window
* Window
,
30 struct Requester
* Requester
,
35 Changes several attributes of a gadget at the same time. How the
36 gadget interprets the new attributes depends on the class.
39 Gadget - Change the attributes of this object
40 Window - The window the gadget is in
41 Requester - The Requester the gadget is in, may be NULL
42 tag1 - The first of a list of attribute/value-pairs. The last
43 attribute in this list must be TAG_END or TAG_DONE.
44 The value for this last attribute is not examined (ie.
45 you need not specify it).
48 This value is non-zero if the gadget needs redrawing after the
52 This function sends OM_SET to the object.
59 NewObject(), SetAttrs(),
60 "Basic Object-Oriented Programming System for Intuition" and
61 "boopsi Class Reference" Dokument.
67 *****************************************************************************/
69 AROS_SLOWSTACKTAGS_PRE(tag1
)
70 retval
= SetGadgetAttrsA (Gadget
, Window
, Requester
, AROS_SLOWSTACKTAGS_ARG(tag1
));
71 AROS_SLOWSTACKTAGS_POST
72 } /* SetGadgetAttrs */