(C) 1998 AROS - The Amiga Research OS


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

void RefreshGList (gadgets , window , requester , numGad)

LOCATION
In IntuitionBase at offset 72

SYNOPSIS
struct Gadget * gadgets
struct Window * window
struct Requester * requester
LONG numGad

FUNCTION
Refresh (draw anew) the specified number of gadgets starting at the specified gadget.

INPUTS
gadgets
This is the first gadget which will be refreshed.
window
The window which contains the gadget
requester
If the gadget has GTYP_REQGADGET set, this must be a pointer to a Requester; otherwise the value is ignored.
numGad
How many gadgets should be refreshed. The value may range from 0 to MAXLONG. If there are less gadgets in the list than numGad, only the gadgets in the list will be refreshed.

RESULT
None.

EXAMPLE
// Refresh one gadget
RefreshGList (&gadget, win, NULL, 1);

// Refresh all gadgets in the window
RefreshGList (win->FirstGadget, win, NULL, -1L);
SEE ALSO

NOTES
This function *must not* be called inside a BeginRefresh()/EndRefresh() pair.

BUGS

INTERNALS

HISTORY