DTCOMBOBOX(5)

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

πŸ’– NAME πŸ’–

okay bestie, this is the Dt/ComboBox.h file-formats page, and it's literally the manual for the DtComboBox widget definitions. no cap, that's the whole name vibe: Dt/ComboBox.h β€” DtComboBox widget definitions ✨

πŸ¦‹ SYNOPSIS πŸ¦‹

#include &<Dt/ComboBox.h>

🌸 DESCRIPTION 🌸

okay so the Dt/ComboBox.h header defines this one structure, and it's giving callback-struct main character energy:

typedef struct {
        int reason;
        XEvent *event;
        XmString item_or_text;
        int item_position;
} DtComboBoxCallbackStruct;

bestie, that's the struct β€” every field accounted for. 🫢

The header also declares these constants, and yes every single one is here:

  • DtALIGNMENT_BEGINNING
  • DtALIGNMENT_CENTER
  • DtALIGNMENT_END
  • DtCR_SELECT
  • DtDROP_DOWN_COMBO_BOX
  • DtDROP_DOWN_LIST

And the header declares these as functions β€” iconic little declarations, all present and correct:

void DtComboBoxAddItem(Widget w,
        XmString item,
        int pos,
        Boolean unique);

void DtComboBoxDeletePos(Widget w,
        int pos);

void DtComboBoxSelectItem(Widget w,
        XmString item);

void DtComboBoxSetItem(Widget w,
        XmString item);
lowkey important: those signatures stay exactly as written, so don't go renaming params or "fixing" types. periodt. πŸ’…

okay that's the page, bestie! source/version: Dt/ComboBox.h(file formats) β€” and there's no date printed on this one, so consider this your timestamp-less cute little goodbye. mwah! πŸŽ€πŸ’–

πŸ“¦ where this page comes from