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 » GetDTTriggerMethods

NAME

	GetDTTriggerMethods - Obtain trigger methods supported by an object
(V39)

SYNOPSIS

	methods = GetDTTriggerMethods (object);
d0 a0
struct DTMethods *GetDTTriggerMethods (Object *);

FUNCTION

	This function is used to obtain a list of trigger methods that an
object supports. This is so that an application can provide
the appropriate controls for an object. For example, an AmigaGuide
object needs controls for "Contents", "Index", "Retrace", "Browse <",
and "Browse >",

INPUTS

	object - Pointer to an object as returned by NewDTObjectA().

RESULT

	Returns a pointer to a NULL terminated DTMethod list.  This list is
only valid until the object is disposed off.

EXAMPLE

	To call the method:
DoMethod (object, DTM_TRIGGER, dtm[button]->dtm_Method);

SEE ALSO

GetDTMethods()

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:

Sanity

ATX
SNT
PHA
RBS

Comments:

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