GLUTADDMENUENTRY(3)

πŸ“¦
version 3.8.0 Β· 2 versions
, in centos-stream 10, centos-stream 9, fedora 43, fedora 44, opensuse-leap 16.0

✨ NAME ✨

okay bestie, meet glutAddMenuEntry β€” the manual page is GLUTADDMENUENTRY(3) β€” and its whole job is to Append an item to the current menu. it's giving menu-builder realness, fr fr. πŸŽ€


πŸ“š LIBRARY πŸ“š

OpenGLUT - menus


πŸͺ„ SYNOPSIS πŸͺ„

#include <openglut.h>

void
glutAddMenuEntry(const char *label, int value);

🌸 PARAMETERS 🌸

  • label β€” menu item text. it's the words that show up in the menu, the whole vibe. πŸ’…
  • value β€” menu item callback value. it's the identifier the callback gets when this item is selected.

πŸ’– DESCRIPTION πŸ’–

Inserts a given (label, value) pair into the current menu. label is the text displayed in the menu; value is the identifier received by the callback when the item is selected.

The new entry is added to the end of the menu. periodt. ✨


πŸ‘€ SEE ALSO πŸ‘€


signing off, bestie: this page is UNDATED, and the source/version is UNTITLED(). πŸ«ΆπŸ’–