Window close button

I’d really like to enable the top left default close button on my app window on os x. Right now the only way to kill the app is to hit the Esc key. Can this behavior be overridden?

Hi,

I just discovered your topic because I was having the same question. Did you find a way?

Best,
IOhanna

This is a limitation of GLUT. AFAIK you can’t have a close button with an onmodified glut on mac. You can try ofxFenster though. https://github.com/underdoeg/ofxFenster It has the close button enabled by default.

Thank you underdoeg! I will have a look at ofxFenster and ofxCocoa… :slight_smile: Thanks again…