2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
3 Copyright © 2001-2003, The MorphOS Development Team. All Rights Reserved.
6 Remove a single gadget from a window.
9 #include "intuition_intern.h"
11 /*****************************************************************************
14 #include <intuition/intuition.h>
15 #include <proto/intuition.h>
17 AROS_LH2(UWORD
, RemoveGadget
,
20 AROS_LHA(struct Window
*, window
, A0
),
21 AROS_LHA(struct Gadget
*, gadget
, A1
),
24 struct IntuitionBase
*, IntuitionBase
, 38, Intuition
)
27 Remove a gadget from the list of gadgets in a window.
30 window - Remove the gadget from this list.
31 gadget - Remove this gadget.
34 The position of the gadget or 0xFFFF if the gadget doesn't
35 exist or the gadget is the 65535th of the list.
49 *****************************************************************************/
53 return RemoveGList (window
, gadget
, 1);