http://bugs.async.com.br/show_bug.cgi?id=4083
Summary: Implementation of on_key_press does not match
documentation
Product: Kiwi
Version: SVN trunk
Platform: All
OS/Version: Linux
Status: NEW
Severity: defect
Priority: (unset)
Component: Framework
AssignedTo: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]
Estimated Hours: 0.0
Created an attachment (id=5398)
--> (http://bugs.async.com.br/attachment.cgi?id=5398)
patch
The BaseController class defines the keyactions attribute as follows
keyactions: a mapping from GDK key symbol (GDK.A, etc.) to a
method. The method will be called when any relevant keypress is
generated for that view. The handler definition should look like:
>>> def my_A_handler(self, widget, event, args):
BUT, if you look at the implementation of on_key_press, it looks up the
appropriate method and calls it WITHOUT passing widget and event as arguments.
See attached patch
--
Configure bugmail: http://bugs.async.com.br/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
Kiwi mailing list
[email protected]
http://www.async.com.br/mailman/listinfo/kiwi