Firefox notificationbox onclose?
How can I detect when a firefox xul noti开发者_如何学Pythonficationbox element I created is closed?
Thanks, Ash
Looks like this is what you want: Either the notificationsHidden
property or the events that are right below it.
The only way you can be sure is to create a derived binding for your notification in which case your destructor will run when the notification is closed. See for instance http://hg.mozilla.org/comm-central/annotate/edc24697f35e/suite/common/bindings/notification.xml#l1616
精彩评论