[pygtk] Questions about key event
Elby
loic.berthe at free.fr
Sat Apr 8 17:42:56 WST 2006
Hi,
I've got a few questions about key event handling.
First, it seems that pressing <Shift> key during a drag n drop prevent
it from being completed.
Why ?
Is there a way to avoid this ?
Second, I would like to use <del> and <backspace> keys as accelerators,
but I don't find the good accelerator string to use.
I tried :
actiongroup = gtk.ActionGroup('MyGroup')
actiongroup.add_actions([
('Delete' , None, 'Delete selected' , '<del>', 'Delete
selected elements' , self.del),
...
])
but I got :
GtkWarning: Unable to parse accelerator '<del>' for action 'Del_All'
Is-there a list of admissible strings somewhere ?
Thanks
--
Elby
More information about the pygtk
mailing list