[Anygui-checkins] CVS: anygui/lib/anygui/backends beosgui.py,1.29,1.30
Brought to you by:
mlh
From: Matthew S. <sch...@us...> - 2003-01-08 06:25:37
|
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 |