brettpoole / growl

Automatically exported from code.google.com/p/growl
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Provide support for a callback for when the user clicks the close button #473

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What feature or enhancement do you propose?

Unless I'm missing something, Growl only provides three callbacks : the Growl 
Is Ready, the click callback, and the timeout callback. There should also be a 
close callback, which would get called whenever the user clicks the close 
button of a notification.

What problem does it solve/What benefit does it provide?

In my app it would be useful to have a different behavior for each of these 
three cases:
- the user clicks the notification (perform action A)
- the user clicks the close button of a notification (perform action B)
- the user does nothing with the notification (perform action C)

Currently I have no way of knowing when I should perform action B, because 
there is no callback telling me when that happens.

Original issue reported on code.google.com by dlabaljan on 31 Mar 2012 at 5:03

GoogleCodeExporter commented 8 years ago

Original comment by ch...@growl.info on 22 May 2012 at 12:34

GoogleCodeExporter commented 8 years ago

Original comment by ch...@growl.info on 27 Aug 2012 at 1:57

GoogleCodeExporter commented 8 years ago

Original comment by dan...@growl.info on 25 May 2013 at 10:55

GoogleCodeExporter commented 8 years ago
This is being worked on for the Growl.framework 3.0, more details in ticket 
#584, but it will require updating of your app to the new methods for 
supporting it.  Flagging as started until more testing has been done.  We are 
also working on notification center button support.

Original comment by dan...@growl.info on 25 May 2013 at 10:57

GoogleCodeExporter commented 8 years ago
I am flagging as fixed in source with the 3.0 framework in beta

Original comment by dan...@growl.info on 18 Jun 2013 at 9:38