Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion App close event
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Zhao Cheng  
View profile  
 More options Nov 4 2012, 3:22 am
From: Zhao Cheng <zcb...@gmail.com>
Date: Sun, 4 Nov 2012 16:22:25 +0800
Local: Sun, Nov 4 2012 3:22 am
Subject: Re: [node-webkit] App close event
A little change on the behaviour:

`App.quit()` still quit the app without sending `close` event. But
`App.closeAllWindows()` will close all windows, if no window is
blocking the `close` event then the app will close. Cmd-Q will call
`App.closeAllWindows()`.

On Sun, Nov 4, 2012 at 3:30 PM, Zhao Cheng <zcb...@gmail.com> wrote:
> I'll make node-webkit send "close" events to each window when pressing
> Cmd-Q or using App.quit(). So developers can save settings or prompt
> users to save modification when users want to quit the whole app.

> This issue is tracked at:
> https://github.com/rogerwang/node-webkit/issues/141

> On Sun, Nov 4, 2012 at 5:50 AM, Chris Granger <ibdk...@gmail.com> wrote:
>> Is there a way to be notified when the entire App is closed.
>> Window.on("close"...) doesn't seem to be called when Cmd-Q is pressed on a
>> mac and I couldn't find any other even to listen to.

>> Cheers,
>> Chris.

> --
> Cheng
> Intel Open Source Technology Center

--
Cheng
Intel Open Source Technology Center

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.