Update of /cvsroot/pythoncard/PythonCard/docs/GettingStarted
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28150/docs/GettingStarted
Modified Files:
starter1.py starter1.rsrc.py
Log Message:
removed on_menuFileExit_select, using Background on_exit_command instead
Index: starter1.py
===================================================================
RCS file: /cvsroot/pythoncard/PythonCard/docs/GettingStarted/starter1.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** starter1.py 14 Apr 2004 02:38:49 -0000 1.5
--- starter1.py 5 May 2004 16:53:23 -0000 1.6
***************
*** 10,16 ****
class Minimal(model.Background):
!
! def on_menuFileExit_select(self, event):
! pass
if __name__ == '__main__':
--- 10,14 ----
class Minimal(model.Background):
! pass
if __name__ == '__main__':
Index: starter1.rsrc.py
===================================================================
RCS file: /cvsroot/pythoncard/PythonCard/docs/GettingStarted/starter1.rsrc.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** starter1.rsrc.py 22 Feb 2002 02:00:45 -0000 1.1
--- starter1.rsrc.py 5 May 2004 16:53:24 -0000 1.2
***************
*** 21,25 ****
{ 'type':'MenuItem',
'name':'menuFileExit',
! 'label':'E&xit\tAlt+X' } ] }
]
},
--- 21,26 ----
{ 'type':'MenuItem',
'name':'menuFileExit',
! 'label':'E&xit\tAlt+X',
! 'command':'exit' } ] }
]
},
|