DTSPINBOX(5)

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

πŸŽ€ DtSpinBox widget definitions πŸŽ€

okay so this is the Dt/SpinBox.h manual page, file formats section β€” manual name folded in right here so we can get into it, bestie πŸ’….

πŸ’– NAME πŸ’–

Dt/SpinBox.h β€” DtSpinBox widget definitions.

This is the file formats page for the Dt/SpinBox.h header, and it's literally here to define the DtSpinBox widget stuff. No cap ✨.

🌸 SYNOPSIS 🌸

Bestie, you include it exactly like this:

#include &<Dt/SpinBox.h>

πŸ¦‹ DESCRIPTION πŸ¦‹

The Dt/SpinBox.h header defines this structure β€” yes, the whole thing, character for character:

typedef struct {
        int reason;
        XEvent *event;
        Widget widget;
        Boolean doit;
        int position;
        XmString value;
        Boolean crossed_boundary;
} DtSpinBoxCallbackStruct;

The header declares these constants β€” every single one, no skipping, periodt 🫢:

  • DtARROWS_FLAT_BEGINNING
  • DtARROWS_FLAT_END
  • DtARROWS_SPLIT
  • DtARROWS_BEGINNING
  • DtARROWS_END
  • DtARROWS_SENSITIVE
  • DtARROWS_DECREMENT_SENSITIVE
  • DtARROWS_INCREMENT_SENSITIVE
  • DtARROWS_INSENSITIVE
  • DtNUMERIC
  • DtALIGNMENT_BEGINNING
  • DtALIGNMENT_CENTER
  • DtALIGNMENT_END
  • DtCR_SPIN_NEXT
  • DtCR_SPIN_PRIOR

The header also declares these as functions β€” exact signatures, no renaming, no merging, just the code πŸ’…:

void DtSpinBoxAddItem(Widget w,
        XmString item,
        int pos);

void DtSpinBoxDeletePos(Widget w,
        int pos);

void DtSpinBoxSetItem(Widget w,
        XmString item);

Catch u later, bestie β€” this was the Dt/SpinBox.h page in the file formats section, and the footer has no extra source/version or date stamp, so that's the whole sign-off πŸ«ΆπŸ’–.

πŸ“¦ where this page comes from