[Anygui-checkins] CVS: /anygui/lib/anygui/backends skelgui.py,1.3,1.4
Brought to you by:
mlh
|
From: Magnus L. H. <ml...@us...> - 2003-04-02 20:43:02
|
Update of /cvsroot/anygui//anygui/lib/anygui/backends
In directory sc8-pr-cvs1:/tmp/cvs-serv21658/lib/anygui/backends
Modified Files:
skelgui.py
Log Message:
Index: skelgui.py
===================================================================
RCS file: /cvsroot/anygui//anygui/lib/anygui/backends/skelgui.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** skelgui.py 14 Nov 2002 17:00:10 -0000 1.3
--- skelgui.py 2 Apr 2003 20:32:25 -0000 1.4
***************
*** 33,40 ****
"""
# Import Anygui infrastructure. You shouldn't have to change these.
from anygui.backends import *
from anygui.Applications import AbstractApplication
! from anygui.Wrappers import AbstractWrapper, DummyWidget, isDummy
from anygui.Events import *
from anygui.Exceptions import Error
--- 33,54 ----
"""
+ __all__ = '''
+
+ Application
+ ButtonWrapper
+ WindowWrapper
+ LabelWrapper
+ TextFieldWrapper
+ TextAreaWrapper
+ ListBoxWrapper
+ RadioButtonWrapper
+ CheckBoxWrapper
+
+ '''.split()
+
# Import Anygui infrastructure. You shouldn't have to change these.
from anygui.backends import *
from anygui.Applications import AbstractApplication
! from anygui.Wrappers import AbstractWrapper
from anygui.Events import *
from anygui.Exceptions import Error
***************
*** 103,110 ****
native widget. You can also call it within the wrapper code if
you need to destroy your native widget for some reason. You
! should set self.widget to DummyWidget()
! here, after destroying the native widget.
"""
! self.widget = DummyWidget()
raise NotImplementedError, 'should be implemented by subclasses'
--- 117,124 ----
native widget. You can also call it within the wrapper code if
you need to destroy your native widget for some reason. You
! should set self.widget to None here, after destroying the
! native widget.
"""
! self.widget = None
raise NotImplementedError, 'should be implemented by subclasses'
|