CVS: /anygui/lib/anygui/backends skelgui.py,1.3,1.4
Magnus Lie Hetland <[email protected]> Wed, 02 Apr 2003 12:32:28 -0800
| Newsgroups | gmane.comp.python.anygui.cvs |
|---|---|
| Message-ID | <[email protected]> |
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'
-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb:
Dedicated Hosting for just $79/mo with 500 GB of bandwidth!
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/