XUL tree views and "PerformAction" again

YuLo <[email protected]>
Newsgroups gmane.comp.mozilla.devel.xpfe
Message-ID <[email protected]>
I made XPCOM(c++) implementing nsITreeView interface.
I can create its instance in JavaScript and then call method PerformAction("..."). Sure, it works.

But can it be done automatically when i press some keys, for instance "Delete"?

I have some tree widgets in a window, it could be fine if XULRUNNER call "PerformAction" of the focussed widget.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.