commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnue] r9497 - trunk/gnue-forms/src/uidrivers/win32/widgets


From: btami
Subject: [gnue] r9497 - trunk/gnue-forms/src/uidrivers/win32/widgets
Date: Thu, 12 Apr 2007 07:44:53 -0500 (CDT)

Author: btami
Date: 2007-04-12 07:44:52 -0500 (Thu, 12 Apr 2007)
New Revision: 9497

Modified:
   trunk/gnue-forms/src/uidrivers/win32/widgets/_base.py
Log:
keyboard event handling fix

Modified: trunk/gnue-forms/src/uidrivers/win32/widgets/_base.py
===================================================================
--- trunk/gnue-forms/src/uidrivers/win32/widgets/_base.py       2007-04-11 
20:08:51 UTC (rev 9496)
+++ trunk/gnue-forms/src/uidrivers/win32/widgets/_base.py       2007-04-12 
12:44:52 UTC (rev 9497)
@@ -194,7 +194,7 @@
                       ControlDown,
                       AltDown)
 
-                    if command:
+                    if command:
                         uiObject = self._uiDriver._IdToUIObj[self._id]
                         # handle up and down arrows in multiline edit
                         if gfObject._type == 'GFEntry'  and \
@@ -214,8 +214,7 @@
                                 uiObject._request ('CURSORMOVE', position = 
pos)
 
                         else:
-                            action = events.Event('request%s' % command, 
arguments=args)
-
+                            action = events.Event('request%s' % command, 
triggerName = args)
                             # Add the object's _form to the outgoing event
                             # rather than every event in the function
                             action.__dict__.update({'_form':gfObject._form})
@@ -273,7 +272,7 @@
                              code=10)
 
             elif command and not keycode in NOT_WM_CHAR_KEYS:
-                action = events.Event('request%s' % command)
+                action = events.Event('request%s' % command, triggerName = 
args)
 
             else:
                 try:





reply via email to

[Prev in Thread] Current Thread [Next in Thread]