commit-gnue
[Top][All Lists]
Advanced

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

[gnue] r8815 - trunk/gnue-forms/src/GFObjects


From: reinhard
Subject: [gnue] r8815 - trunk/gnue-forms/src/GFObjects
Date: Tue, 17 Oct 2006 09:00:58 -0500 (CDT)

Author: reinhard
Date: 2006-10-17 09:00:58 -0500 (Tue, 17 Oct 2006)
New Revision: 8815

Modified:
   trunk/gnue-forms/src/GFObjects/GFEntry.py
Log:
Removed duplicate implementation of focus methods.


Modified: trunk/gnue-forms/src/GFObjects/GFEntry.py
===================================================================
--- trunk/gnue-forms/src/GFObjects/GFEntry.py   2006-10-17 13:46:51 UTC (rev 
8814)
+++ trunk/gnue-forms/src/GFObjects/GFEntry.py   2006-10-17 14:00:58 UTC (rev 
8815)
@@ -151,48 +151,6 @@
 
 
     # -------------------------------------------------------------------------
-    # Focus in and out
-    # -------------------------------------------------------------------------
-
-    def focus_in(self):
-        """
-        Notify the entry that it has received the focus.
-        """
-
-        self.processTrigger('PRE-FOCUSIN')
-        self.processTrigger('POST-FOCUSIN')
-
-    # -------------------------------------------------------------------------
-
-    def validate(self):
-        """
-        Validate the entry to decide whether the focus can be moved away from
-        it.
-
-        This function can raise an exception, in which case the focus change
-        will be prevented.
-
-        Calling this function will implicitly update the value in the
-        associated GFField object.
-        """
-
-        self.processTrigger('PRE-FOCUSOUT')
-
-
-    # -------------------------------------------------------------------------
-
-    def focus_out(self):
-        """
-        Notify the entry that it is going to lose the focus.
-
-        The focus change is already decided at this moment, there is no way to
-        stop the focus from changing now.
-        """
-
-        self.processTrigger('POST-FOCUSOUT')
-
-
-    # -------------------------------------------------------------------------
     # Begin/end editing mode for this entry
     # -------------------------------------------------------------------------
 





reply via email to

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