(C) 1998 AROS - The Amiga Research OS


NAME
#include <intuition/intuition.h>
#include <proto/intuition.h>

UWORD AddGadget (window , gadget , position)

LOCATION
In IntuitionBase at offset 7

SYNOPSIS
struct Window * window
struct Gadget * gadget
ULONG position

FUNCTION
Adds a single gadget to a window.

INPUTS
window
Add gadget to this window
gadget
Add this gadget
position
The position to add the gadget in the list of gadgets already in the window. Use 0 to insert the gadget before all others or ~0 to append it to the list.

RESULT
The position where the gadget was really inserted.

EXAMPLE

SEE ALSO

NOTES
This just adds the gadget to the list. It will not be visible until you refresh the window.

BUGS

INTERNALS

HISTORY