(C) 1998 AROS - The Amiga Research OS


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

IPTR DoGadgetMethod ()

SYNOPSIS
struct Gadget * gad
struct Window * win
struct Requester * req
ULONG methodId
...

FUNCTION
Invokes a boopsi method on a object with a GadgetInfo derived from the supplied window or requester parameter.

INPUTS
gad
The gadget to work on
win
The window which contains the gadget or the requester with the gadgets.
req
If the gadget is in a requester, you must specify that one, too.
methodId
The message to the gadget follows here.

RESULT
The result depends on the contents of the message sent to the gadget.

EXAMPLE

SEE ALSO

NOTES

BUGS

INTERNALS

HISTORY
20.10.1998 hkiel
Amiga Research OS
02.04.1997 ldp
AROSfA: enable functions, define NO_INLINE_STDARG to disable inline handling of said functions
27.01.1997 ldp
Include proto instead of clib
04.12.1996 aros
The macros AROS_SLOWSTACKTAGS and AROS_SLOWSTACKMETHODS now use AROS_TAGRETURNTYPE and AROS_METHODRETURNTYPE to create a variable called retval in which the use suplied part of the function must store the return value. If these types are not defined, then the types default to IPTR.
28.11.1996 aros
A couple of new functions in amiga.lib

Easier code to handle stacktags and stackmethods.

25.11.1996 aros
Allow stacktags on special CPUs
25.10.1996 aros
Varargs stub for DoGadgetMethodA()