GLUTADDSUBMENU(3)

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

✨ GLUTADDSUBMENU(3) ✨

okay bestie, welcome to the GLUTADDSUBMENU page, from section 3 of the manual πŸ’– yes it's a whole function and yes it's giving menu energy.

πŸ“š LIBRARY

OpenGLUT β€” menus πŸŽ€


🌸 SYNOPSIS

#include <openglut.h>

void
glutAddSubMenu(const char *label, int subMenuID);

like, that's the whole vibe. two args, no drama. πŸ’…

🫢 PARAMETERS

  • label β€” the submenu item text, aka what the girlies actually see written in the menu ✨
  • subMenuID β€” the submenu identifier, the lil ID number that tells OpenGLUT which menu you're talking about πŸ‘‘

πŸ’– DESCRIPTION

so here's the tea: this function attaches an existing menu as a submenu of the current menu. that's it. that's the job. πŸ¦‹

label is the text used for the item in the menu β€” literally the words that show up. subMenuID is the identifier of an existing menu that's gonna get appended as a submenu. both of them are doing the absolute most in the best way πŸ˜­πŸ’•

and bestie, listen: the submenu gets added to the end of the menu. the END. no sneaking it in at the top, no inserting it in the middle. it goes last. periodt. πŸ‘‘

πŸ‘€ SEE ALSO

go read those too, iykyk πŸ“–βœ¨


and that's the whole page fr fr πŸŽ€ this one came from the UNDATED era, under the very mysterious title UNTITLED() β€” iconic of her honestly. stay slay, go build a menu, mwah πŸ’…πŸ’–πŸŒˆ