quitting

6 views
Skip to first unread message

Todd Geist

unread,
Nov 5, 2014, 10:21:26 PM11/5/14
to glx...@googlegroups.com
Hello

I am kind of confused about how to quit my standalone built with GLX on a mac.  Selecting "Quit" from the application menu doesn't do it.  Neither does clicking the close box.  The only thing that works is selecting quit from the Doc menu.

How can I trigger a Quit when the Command Q or the Application Menu item is selected?

Thanks

Todd

Trevor DeVore

unread,
Nov 6, 2014, 9:07:09 AM11/6/14
to glx...@googlegroups.com
On Wed, Nov 5, 2014 at 10:21 PM, Todd Geist <to...@geistinteractive.com> wrote:

I am kind of confused about how to quit my standalone built with GLX on a mac.  Selecting "Quit" from the application menu doesn't do it.  Neither does clicking the close box.  The only thing that works is selecting quit from the Doc menu.

How can I trigger a Quit when the Command Q or the Application Menu item is selected?

You just need to call 'quit' in your menuPick handler for the File > Quit option.

-- 
Trevor DeVore
ScreenSteps

Todd Geist

unread,
Nov 6, 2014, 9:15:48 AM11/6/14
to glx...@googlegroups.com
ah that would explain it.  I deleted the menu :-)


Thanks
Todd

--
You received this message because you are subscribed to the Google Groups "GLX Application Framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to glxapp+un...@googlegroups.com.
To post to this group, send email to glx...@googlegroups.com.
Visit this group at http://groups.google.com/group/glxapp.
For more options, visit https://groups.google.com/d/optout.



--
Todd Geist
Reply all
Reply to author
Forward
0 new messages