DT(5)

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

πŸ’… Dt/Dt.h β€” miscellaneous desktop definitions πŸ’…

okay so this is the Dt/Dt.h(file formats) manual, bestie 🫢 β€” manual name folded in near the top like a lil name tag, not copied as a crusty header line, periodt. this page is short, it's giving "tiny but iconic" energy, and we're gonna go through every single crumb, fr fr. no skips, no cap. ✨

✨ NAME ✨

Dt/Dt.h β€” miscellaneous desktop definitions πŸŽ€

🌸 SYNOPSIS 🌸

you literally just include it like this, bestie:

#include &<Dt/Dt.h>

πŸ¦‹ DESCRIPTION πŸ¦‹

the Dt/Dt.h header contains miscellaneous public constant and function declaration for the XCDE library πŸ’–. yes, declaration β€” that's what it says, and i'm not gonna "fix" it, iykyk.

okay so this header defines several constants that can be used to determine the version of the library used to compile an application and the version of the library with which an application is currently linked. two versions, one header, main character energy πŸ”₯. i'm obsessed, honestly β€” this page ate and left no crumbs.

⭐ compile-time version constants ⭐

the header defines these constants that represent the library compile-time version:

  • DtVERSION β€” an integer specifying the major version number πŸ‘‘
  • DtREVISION β€” an integer specifying the minor version number ✨
  • DtUPDATE_LEVEL β€” an integer specifying the patch release level 🩹
  • DtVERSION_NUMBER β€” an integer combining the major, minor and patch release numbers. it's derived from the following formula, no cap:
(10000 * DtVERSION + 100 *
        DtRevision + DtUPDATE_LEVEL)
  • DtVERSION_STRING β€” a string containing a description of the version and the version number πŸ’¬

🌈 run-time version constants 🌈

the header defines these constants that represent the library run-time version:

extern int DtVersion
extern char *DtVersionString

DtVersion is an integer equivalent to DtVERSION_NUMBER at the time the library was created. DtVersionString is a string equivalent to DtVERSION_STRING at the time the library was created. literally the compile-time numbers vs. the run-time numbers, but make it version constants 🧚.

πŸ› οΈ function declarations πŸ› οΈ

the header declares the following as functions:

Boolean DtInitialize(Display *display,
        Widget widget,
        char *name,
        char *tool_class)
Boolean DtAppInitialize(XtAppContext app_context,
        Display *display,
        Widget widget,
        char *name,
        char *tool_class)

and that's the whole page, bestie β€” short, sweet, and highkey iconic πŸ’….


πŸ’– source/version: Dt/Dt.h(file formats) Β· date: not printed on this page, so i'm not gonna invent one, bestie 😭 β€” bye, go include that header and slay ✨🫢
πŸ“¦ where this page comes from