/[papo]/gnue/forms/src/uidrivers/_base/UIWidget.py
ViewVC logotype

Diff of /gnue/forms/src/uidrivers/_base/UIWidget.py

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

revision 1.2 by styxman, Thu Nov 14 22:16:54 2002 UTC revision 1.2.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  # FILE:  # FILE:
22  # UIWidget.py  # UIWidget.py
# Line 29  Line 29 
29  # NOTES:  # NOTES:
30  #  #
31    
 #from GFForm import *  
 #from gnue.common import events  
 #from gnue.common.GObjects import *  
   
32  class UIWidget:  class UIWidget:
33    def __init__(self, event):    def __init__(self, event):
34    
# Line 63  class UIWidget: Line 59  class UIWidget:
59          self.widgets.append(newWidget)          self.widgets.append(newWidget)
60    
61    
62      #
63      # The following functions should be overridden by the widgets
64      # in the ui driver.
65      #
66    def createWidget(self, event, spacer):    def createWidget(self, event, spacer):
67      GDebug.printMesg(1,"UI doesn't support %s" % self.__class__)      GDebug.printMesg(1,"UI doesn't support %s" % self.__class__)
68    
69      def indexedFocus(self, index):
70        pass
71    
72      def showModal(self):
73        pass
74    
75      def destroy(self):
76        pass
77    
78      def setValue(self, value, index=0, enabled=1):
79        pass
80    
81      def setCursorPosition(self, position, index=0):
82        pass
83    
84      def setSelectedArea(self, selection1, selection2, index=0):
85        pass
86                        
87    

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.2.2.1

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