Firefox通知箱onclose?

时间:2011-03-08 10:44:22

标签: firefox-addon xul

如何检测我创建的firefox xul notificationbox元素何时关闭?

谢谢, 灰

2 个答案:

答案 0 :(得分:0)

看起来像this is what you wantnotificationsHidden属性或其下方的事件。

答案 1 :(得分:0)

您可以确定的唯一方法是为通知创建派生绑定,在这种情况下,析构函数将在通知关闭时运行。例如,请参阅http://hg.mozilla.org/comm-central/annotate/edc24697f35e/suite/common/bindings/notification.xml#l1616