ULONG = AddObject(AFWindow *window, AFRect *rect, UWORD gadid)DESCRIPTION Adds a datatype object to a window. Note that this function will use the static icon for audio etc. Pictures will be added and updated to be viewed.
INPUTS window - window to add the object to rect - size and position of object gadid - gadget id
RESULT ULONG - position of gadget in gadget list if successful
BUGS none known
SEE ALSO RemoveObject