DT(5)
π 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
- nixos 26.05: cde 2.5.3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms