GLUTGETMENU(3)

πŸ’– glutGetMenu(3) πŸ’–

okay bestie, so this is a page from the OpenGLUT manual β€” specifically the menus section β€” and it's all about glutGetMenu, the little cutie that tells you which menu is currently the main character. ✨


🌸 LIBRARY 🌸

OpenGLUT β€” menus πŸŽ€


✨ SYNOPSIS ✨

#include <openglut.h>

int
glutGetMenu(void);

πŸ’… DESCRIPTION πŸ’…

okay so basically: glutGetMenu() returns the integer ID of the current menu. that's it. that's the whole vibe. no cap. 🫢

it's giving "who's on aux right now" but for menus, and the answer comes back as an int. πŸ”₯


πŸ‘‘ SEE ALSO πŸ‘‘

  • glutSetMenu(3) β€” the one that actually sets the current menu, iykyk πŸ¦‹

ngl if you were hoping for more, this function said "short and iconic" and meant it πŸ’€

sooo this page is dated UNDATED and comes from the UNTITLED() source, which is lowkey the most mysterious era of the docs, and honestly? we stan a timeless queen. πŸ§šπŸ’œ bye bestie, go call glutSetMenu(3) and see what happens 🌈⭐