grub2: bring back build of aros-side grub2 tools
[AROS.git] / workbench / libs / datatypes / setdtattrsa.c
bloba0380e9d1e03ba2a1ea0c4415d4e36398508990b
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc:
6 Lang: English
7 */
8 #include <proto/intuition.h>
9 #include <intuition/classusr.h>
10 #include "datatypes_intern.h"
12 /*****************************************************************************
14 NAME */
15 #include <proto/datatypes.h>
17 AROS_LH4(ULONG, SetDTAttrsA,
19 /* SYNOPSIS */
20 AROS_LHA(Object * , o , A0),
21 AROS_LHA(struct Window *, win , A1),
22 AROS_LHA(struct Requester *, req , A2),
23 AROS_LHA(struct TagItem *, attrs, A3),
25 /* LOCATION */
26 struct Library *, DataTypesBase, 10, DataTypes)
28 /* FUNCTION
30 Set the attributes of a data type object.
32 INPUTS
34 o -- pointer to the data type object the attributes of which to set
35 win -- window that the object has been added to
36 attrs -- attributes to set (terminated with TAG_DONE)
37 tags are specified in <datatypes/datatypesclass.h>
39 RESULT
41 NOTES
43 EXAMPLE
45 BUGS
47 SEE ALSO
49 GetDTAttrsA(), intuition.library/SetGadgetAttrsA(),
50 <datatypes/datatypesclass.h>
52 INTERNALS
54 HISTORY
56 *****************************************************************************/
58 AROS_LIBFUNC_INIT
60 return SetGadgetAttrsA((struct Gadget *)o, win, req, attrs);
62 AROS_LIBFUNC_EXIT
63 } /* SetDTAttrsA */