开发者

Firefox notificationbox onclose?

开发者 https://www.devze.com 2023-02-15 06:57 出处:网络
How can I detect when a firefox xul noti开发者_如何学Pythonficationbox element I created is closed?

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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号