开发者

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

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜