DTACTION(5)

πŸ“¦
version 2.5.3 Β· 2 versions
, in nixos 26.05

okay so bestie πŸ’– welcome to the DTACTION(5) page β€” yep, the Dt/Action.h file-formats manual, and it is literally all about action service definitions ✨ this one is mostly declarations, typedefs, callbacks, and function signatures, so keep your wig on and let's go 🫢

✨ NAME ✨

Dt/Action.h β€” action service definitions. That's the whole name, periodt πŸ’…

πŸ¦‹ SYNOPSIS πŸ¦‹

include this exact line, no edits bestie:

#include &<Dt/Action.h>

(yes, there's an & in there β€” copy it exactly 😭)

πŸŽ€ DESCRIPTION πŸŽ€

The Dt/Action.h header defines these DtActionStatus constants β€” collect them all, no skipping πŸ‘‘:

DtACTION_OK
DtACTION_INVALID_ID
DtACTION_INVOKED
DtACTION_DONE
DtACTION_CANCELED
DtACTION_FAILED
DtACTION_STATUS_UPDATE

Then it defines this data type through typedef β€” main character typedef energy, fr fr:

typedef unsigned long DtActionInvocationID;

It also defines these callback prototypes β€” yes, both of them, we are not leaving anyone on read 🫢:

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

typedef void (*DtDbReloadCallbackProc)(XtPointer clientData);

And it defines these as functions β€” full signature dump, because precision is the vibe ⭐:

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 πŸ’…

Okay bestie, go read these next β€” every single one is listed, no crumbs left behind πŸ“βœ¨:


Cute sign-off πŸ«ΆπŸ’–: source/version is the Dt/Action.h file-formats manual page, and there is literally no date printed in the footer β€” so no cap, that's all she wrote, periodt πŸ’…βœ¨

πŸ“¦ where this page comes from