[Contents] [Index] [Help] [Retrace] [Browse <] [Browse >]


    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().

    RETURNS
        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()