a1200   NEWS   APPS   DOCS   ABOUT
a1200
----
a1200
----
Autodocs
 Libraries:
 datatypes.library
  --background--
  --rexxhost--
  AddDTObject
  DisposeDTObject
  DoAsyncLayout
  DoDTMethodA
  DrawDTObjectA
  GetDTAttrsA
  GetDTMethods
  GetDTString
  GetDTTriggerMethods
  NewDTObjectA
  ObtainDTDrawInfoA
  ObtainDataTypeA
  PrintDTObjectA
  RefreshDTObjectA
  ReleaseDTDrawInfo
  ReleaseDataType
  RemoveDTObject
  SetDTAttrsA
Include
GuruMeditation
Docs » Autodocs » datatypes.library » AddDTObject

NAME

	AddDTObject - Add an object to a window or requester.   (V39)

SYNOPSIS

	realposition = AddDTObject (window, requester, object, position);
d0 a0 a1 a2 d0
LONG AddDTObject (struct Window *, struct Requester *,
Object *, LONG);

FUNCTION

	This function adds a single object to the gadget list of the given
window or requester at the position in the list specified by the
position argument.
When the object is added to the gadget list, the object will
receive a GM_LAYOUT message with the gpl_Initial field set to
one.

INPUTS

	window - Pointer to the window.
requester - Must be NULL.
object - Pointer to an object as returned by NewDTObjectA().
position - Integer position in the list for the new gadget.
-1 to add to the end of the list.

RESULT

	Returns the position of where the object was actually added.

SEE ALSO

RemoveDTObject(), intuition.library/AddGList()

Comments

Name:
E-mail: Use this if you want a message if you get a response, will not be shown.
Comment:
Select correct short for:

Crystal

CSL
TBL
TSL
RBS

Comments:

$VER: d0.se 1.14 Copyright © 2011-2024 Tobias Geijersson support at d0 dot se