DtAction(5)

Dt/Action.h - action service definitions

As shipped in IRIX 6.5.22. Added in IRIX 6.5.19.

     NAME
          Dt/Action.h - action service definitions

     SYNOPSIS
          #include <Dt/Action.h>

     DESCRIPTION
          The <Dt/Action.h> header defines the following
          DtActionStatus constants:

               DtACTION_OK
               DtACTION_INVALID_ID
               DtACTION_INVOKED
               DtACTION_DONE
               DtACTION_CANCELED
               DtACTION_FAILED
               DtACTION_STATUS_UPDATE

          The header defines the following data type through typedef:

               typedef unsigned long DtActionInvocationID;

          The header defines the following callback prototypes:

          typedef void (*DtActionCallbackProc)(DtActionInvocationID id,
                                               XtPointer client_data,
                                               DtActionArg *args,
                                               int argCount,
                                               DtActionStatus status);

          typedef void (*DtDbReloadCallbackProc)(XtPointer clientData);

          The header defines the following as functions:

          void DtDbReloadNotify(DtDbReloadCallbackProc proc,
                                XtPointer clientData);

          void DtDbLoad(void);

          Boolean DtActionExists(char *s);

          char *DtActionLabel(char *s);

          char *DtActionDescription(char *actionName);

          char *DtActionIcon(char *actionName);

          DtActionInvocationID
          DtActionInvoke(Widget w,
                         char *action,
                         DtActionFile *args,
                         int argCount,
                         char *termOpts,
                         char *execHost,
                         char *contextDir,
                         int useIndicator,
                         DtActionCallbackProc statusUpdateCb,
                         XtPointer client_data);

     SEE ALSO
          DtActionDescription(3), DtActionExists(3), DtActionIcon(3),
          DtActionInvoke(3), DtActionLabel(3),
          DtActionCallbackProc(3), DtDbLoad(3), DtDbReloadNotify(3),
          dtaction(1).