keybindings

From: Daniel Carvalho <idnael_at_gmail.com>
Date: Mon Dec 22 2008 - 00:17:36 CET

Hello
I'm using pyabiwidget and want to disable some keybindings, like the
control S = save file.

I saw a message about this in:
http://www.abisource.com/mailinglists/abiword-dev/2007/Apr/0016.html
but it seems that api is not implemented in python

The "advanced" example included with pyabiword-0.6.1 has something
about key bindings but that code has no effect... (I have the
"abicommand" and "loadbindings" plugins)
                self._abiword_canvas.invoke_cmd("LoadBindings_invoke",defKeys,0,0)
                self._abiword_canvas.invoke_cmd("SetBindings_invoke","AbiDefault",0,0)

Should this work? Or isthere other way in python?

Btw, where can I find information abound the commands that can be
called with invoke_cmd?

daniel
Received on Mon Dec 22 00:18:00 2008

This archive was generated by hypermail 2.1.8 : Mon Dec 22 2008 - 00:18:00 CET