On Tue, 2007-05-08 at 13:30 +0000, Gerrit . wrote:
Ted, Bryce, thanks for your detailed response and your suggestions. Since you offered help further down the road, I'd now like to ask for your advice again.
I think that goes for everyone on this list, yourself included. We like questions, it makes me feel important if my mailbox is full ;)
Finally, how do I register the extension class and bind it to keystrokes? Is there an example?
I'm going to answer this one, because I know the answer here, hopefully others will answer the layers one because I'm not as confident in those areas of the code.
You can edit the file in /share/keys/default.xml to change the keymap. Also, for testing, you can put a keys.xml in your ~/.inkscape directory and modify it there. Under "action" you should put the ID of your extension.
--Ted