DTMENUBUTTON(5)

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

okay so bestie, welcome to the Dt/MenuButton.h page from the file formats manual β€” it's giving β€œtiny header file, main character energy,” and we're gonna read every line together, fr fr. πŸ’…

✨ NAME ✨

Dt/MenuButton.h β€” DtMenuButton widget definitions

Like, that's the whole name: a header file for DtMenuButton widget definitions. Iconic, concise, no notes. πŸ‘‘

πŸ¦‹ SYNOPSIS πŸ¦‹

#include &<Dt/MenuButton.h>

That's the include line exactly as this page has it β€” ampersand and all, bestie, don't come for me. 🫢

🌸 DESCRIPTION 🌸

So the Dt/MenuButton.h header defines exactly one constant, and it's this one:

  • DtCR_CASCADING

One constant. One little legend. We love a minimal header era. ✨

The header also declares the following as a function β€” yes, a function, not a macro, not a silly little variable, a whole function:

Widget DtCreateMenuButton(Widget parent,
               String name,
               ArgList arglist,
               Cardinal argcount);

That's the exact signature: Widget DtCreateMenuButton(Widget parent, String name, ArgList arglist, Cardinal argcount); β€” keep those parameter names and types exactly where they are, no cap. πŸ’–


Footer energy: this page is Dt/MenuButton.h in the file formats manual, and there's no date printed on that footer, so we're calling it timeless. Stay slay, bestie. πŸŽ€

πŸ“¦ where this page comes from