commit-gnue
[Top][All Lists]
Advanced

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

gnue/forms/src GFForm.py


From: Jason Cater
Subject: gnue/forms/src GFForm.py
Date: Mon, 30 Sep 2002 02:21:48 -0400

CVSROOT:        /home/cvs
Module name:    gnue
Changes by:     Jason Cater <address@hidden>    02/09/30 02:21:46

Modified files:
        forms/src      : GFForm.py 

Log message:
        implemented the setFocus call to let triggers modify the focus

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/forms/src/GFForm.py.diff?cvsroot=OldCVS&tr1=1.181&tr2=1.182&r1=text&r2=text

Patches:
Index: gnue/forms/src/GFForm.py
diff -c gnue/forms/src/GFForm.py:1.181 gnue/forms/src/GFForm.py:1.182
*** gnue/forms/src/GFForm.py:1.181      Sat Sep 28 02:10:46 2002
--- gnue/forms/src/GFForm.py    Mon Sep 30 02:21:46 2002
***************
*** 686,692 ****
  
    def triggerSetFocus(self,object):
      print _("If i was working then %s would now have focus") % object._object
!     self.changeFocus(object._object,0)
  
    def triggerSetStatusText(self,tip=''):
      
self.dispatchEvent(GFEvent('uiUPDATESTATUS',[tip,None,None,None,None,None,None]))
--- 686,693 ----
  
    def triggerSetFocus(self,object):
      print _("If i was working then %s would now have focus") % object._object
!     self.changeFocus(object._object,1)
!     self.dispatchEvent(GFEvent('gotoENTRY',{'object':self._currentEntry}))
  
    def triggerSetStatusText(self,tip=''):
      
self.dispatchEvent(GFEvent('uiUPDATESTATUS',[tip,None,None,None,None,None,None]))




reply via email to

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