Update of /cvsroot/pythoncard/PythonCard/tools/resourceEditor/templates
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16207/tools/resourceEditor/templates
Modified Files:
template.py template.rsrc.py templateFullMenus.py
templateFullMenus.rsrc.py
Log Message:
changed from on_menuFileExit_select to on_exit_command Background method
Index: templateFullMenus.rsrc.py
===================================================================
RCS file: /cvsroot/pythoncard/PythonCard/tools/resourceEditor/templates/templateFullMenus.rsrc.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** templateFullMenus.rsrc.py 1 Aug 2003 00:01:29 -0000 1.2
--- templateFullMenus.rsrc.py 30 Apr 2004 16:26:12 -0000 1.3
***************
*** 46,50 ****
{ 'type':'MenuItem',
'name':'menuFileExit',
! 'label':'E&xit\tAlt+X' } ] },
# most of the edit menu was copied from the searchexplorer sample
{'type':'Menu',
--- 46,51 ----
{ 'type':'MenuItem',
'name':'menuFileExit',
! 'label':'E&xit\tAlt+X',
! 'command':'exit', } ] },
# most of the edit menu was copied from the searchexplorer sample
{'type':'Menu',
Index: template.py
===================================================================
RCS file: /cvsroot/pythoncard/PythonCard/tools/resourceEditor/templates/template.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** template.py 24 Apr 2004 21:09:23 -0000 1.4
--- template.py 30 Apr 2004 16:26:12 -0000 1.5
***************
*** 15,25 ****
pass
- # KEA 2003-07-31
- # should we default to using commands instead
- # of select events as the recommended
- # way of doing menus?
- def on_menuFileExit_select(self, event):
- self.close()
-
if __name__ == '__main__':
--- 15,18 ----
Index: templateFullMenus.py
===================================================================
RCS file: /cvsroot/pythoncard/PythonCard/tools/resourceEditor/templates/templateFullMenus.py,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** templateFullMenus.py 25 Apr 2004 23:12:46 -0000 1.8
--- templateFullMenus.py 30 Apr 2004 16:26:12 -0000 1.9
***************
*** 210,216 ****
self.printer.PageSetup()
- def on_menuFileExit_select(self, event):
- self.close()
-
# the following was copied and pasted from the searchexplorer sample
--- 210,213 ----
Index: template.rsrc.py
===================================================================
RCS file: /cvsroot/pythoncard/PythonCard/tools/resourceEditor/templates/template.rsrc.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** template.rsrc.py 28 May 2002 00:34:22 -0000 1.4
--- template.rsrc.py 30 Apr 2004 16:26:12 -0000 1.5
***************
*** 23,27 ****
{ 'type':'MenuItem',
'name':'menuFileExit',
! 'label':'E&xit' } ] }
]
},
--- 23,28 ----
{ 'type':'MenuItem',
'name':'menuFileExit',
! 'label':'E&xit',
! 'command':'exit', } ] }
]
},
|