Hi there - I presume I already know the answer to this question (unsupported since it can’t be done in a generic/cross-platform way), but wanted to double-check to confirm.
I’m porting an application to GLFW, which I am finding to be great. Thanks for this excellent framework! On Mac, the window that is created seems to by default have in its menu-bar a “Window” menu which includes a “Minimize” option with the “command-M” shortcut.
My application formerly used “command-M” for another behavior, within a windowing framework that didn’t have that default “Window” menu. If it comes down to it, I can resort to changing my application’s shortcut-command. But I’d prefer to just ditch this menu-bar if I can.
Question: is there any way to get access to this menu bar and modify it? I know I can use glfwGetCocoaWindow() to get the raw Cocoa window handle. Then I suppose I could dig into using that somehow to modifying the window (I am not familiar with the Cocoa APIs).
Is there any other approach here? Anyone tried to do this type of menu-bar modification in a GLFW application before? Any recommendations?
Thanks in advance!