CVS: anygui/lib/anygui/backends beosgui.py,1.29,1.30

Matthew Schinckel <[email protected]> Tue, 07 Jan 2003 22:25:36 -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-serv6396

Modified Files:
	beosgui.py 
Log Message:
Made beosgui.py work again.
(Execpt Menus & some bugs).



Index: beosgui.py
===================================================================
RCS file: /cvsroot/anygui/anygui/lib/anygui/backends/beosgui.py,v
retrieving revision 1.29
retrieving revision 1.30
diff -C2 -r1.29 -r1.30
*** beosgui.py	9 Feb 2002 05:18:40 -0000	1.29
--- beosgui.py	8 Jan 2003 06:25:34 -0000	1.30
***************
*** 1,36 ****
  
  from anygui.backends import *
! __all__ = anygui.__all__
  
! #################################################################
  
  # All Bethon modules are imported.  Not all are used.
! 
! import BAlert, BApplication
! import BButton
[...1645 lines suppressed...]
!     
!     def AboutRequested(self):
!         if self.about is None:
!             self.about = BAlert.BAlert("About", __doc__, "Dismiss")
!         self.about.Go()
!         
!     def ArgvRecieved(self, argc, argv):
!         pass
!  
!     def ReadyToRun(self):
!         for win in self._windows:
!             if win.wrapper is "AboutDialog":
!                 self.about = win.alert
!             else:
!                 win.wrapper.widget.Show()
!                 win.wrapper.widget.Minimize(not win.wrapper.proxy.state['visible'])
  
      def QuitRequested(self):
+         self.about = None
          return 1



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com