/[papo]/gnue/forms/src/GFObjects/GFPage.py
ViewVC logotype

Diff of /gnue/forms/src/GFObjects/GFPage.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by styxman, Thu Nov 14 22:16:53 2002 UTC revision 1.4.2.1 by anthonyl, Tue Mar 4 22:18:23 2003 UTC
# Line 16  Line 16 
16  # write to the Free Software Foundation, Inc., 59 Temple Place  # write to the Free Software Foundation, Inc., 59 Temple Place
17  # - Suite 330, Boston, MA 02111-1307, USA.  # - Suite 330, Boston, MA 02111-1307, USA.
18  #  #
19  # Copyright 2000-2002 Free Software Foundation  # Copyright 2000-2003 Free Software Foundation
20  #  #
21  #  #
22  # FILE:  # FILE:
# Line 36  from GFObj import GFObj Line 36  from GFObj import GFObj
36  class GFPage(GFObj):  class GFPage(GFObj):
37    def __init__(self, parent=None):    def __init__(self, parent=None):
38      GFObj.__init__(self, parent,"GFPage")      GFObj.__init__(self, parent,"GFPage")
39      self._inits = [self.initialize]      self._inits = [self.initialize, self.init2]
40    
41      self._validTriggers = { 'PRE-FOCUSOUT':   'Pre-FocusOut',      self._validTriggers = {
42                      'PRE-FOCUSOUT':   'Pre-FocusOut',
43                    'POST-FOCUSOUT':  'Post-FocusOut',                    'POST-FOCUSOUT':  'Post-FocusOut',
44                    'PRE-FOCUSIN':    'Pre-FocusIn',                    'PRE-FOCUSIN':    'Pre-FocusIn',
45                    'POST-FOCUSIN':   'Post-FocusIn',                    'POST-FOCUSIN':   'Post-FocusIn',
46                    }                    }
47    
48        self._entryList = []
49    
50    
51    def initialize(self):    def initialize(self):
52      form = self.findParentOfType('GFForm')      layout = self.findParentOfType('GFLayout')
53      form._pageList.append(self)      layout._pageList.append(self)
54    
55      def init2(self):
56        # Get all focusable items, ordered correctly
57        self._focusOrder = self._entryList # self.getFocusOrder()
58    
59    
60    
61    

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.4.2.1

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26