(C) 1998 AROS - The Amiga Research OS


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

UWORD AddGList (window , gadget , position , numGad , requester)

LOCATION
In IntuitionBase at offset 73

SYNOPSIS
struct Window * window
struct Gadget * gadget
ULONG position
LONG numGad
struct Requester * requester

FUNCTION
Add some gadgets to a window.

INPUTS
window
Add gadgets to this window
gadget
This is the list of gadgets to add
position
Where to insert the gadgets in the list of gadgets already in the window. Use 0 to insert the gadgets before all others in the window or ~0 to append them.
numGad
How many gadgets of the list should be added.
Use
1 to add all gadgets in the list.
requester
Pointer to the requester structure if the window is a requester.

RESULT
The actual position where the gadgets were inserted.

EXAMPLE

SEE ALSO
RefreshGadgets(), RefresgGList()

NOTES
The gadgets will just be added. To make them visible, you must refresh the window or the gadgets.

BUGS

INTERNALS

HISTORY