From: Kevin A. <ka...@us...> - 2005-12-25 12:13:56
|
Update of /cvsroot/pythoncard/PythonCard/docs/html/framework In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16083 Modified Files: resource_files.html runtime_tools.html Log Message: minor names changes plus date and version updated Index: resource_files.html =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/docs/html/framework/resource_files.html,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** resource_files.html 14 Aug 2004 21:51:40 -0000 1.3 --- resource_files.html 25 Dec 2005 12:13:46 -0000 1.4 *************** *** 12,16 **** <?php include "../sidebar.php" ?> <div id="content"> ! <p>Updated: April 10, 2004 for release 0.7.3</p> <p>Resource files are an old idea, but they are not widely used in the Python --- 12,16 ---- <?php include "../sidebar.php" ?> <div id="content"> ! <p>Updated: December 25, 2005 for release 0.8.1</p> <p>Resource files are an old idea, but they are not widely used in the Python *************** *** 63,68 **** <p>The organization of the resource file is defined by the spec classes in ! pom.py spec.py, widget.py, and each component module. When a ! resource is read in (see res.py) it is validated against the specs, default arguments are initialized and any undefined component types in the resource will cause a runtime error. The resource dictionary is converted to an --- 63,68 ---- <p>The organization of the resource file is defined by the spec classes in ! component.py, spec.py, widget.py, and each component module. When a ! resource is read in (see resource.py) it is validated against the specs, default arguments are initialized and any undefined component types in the resource will cause a runtime error. The resource dictionary is converted to an *************** *** 73,77 **** <p>The noresource sample shows an example of a PythonCard application that does not have a resource file. The noresource sample also shows an ! example of dynamic component creation when the app starts up.</p> <hr> | <a href="general_concepts_and_limitations.html">General Concepts and Limitations</a> | <a href="components.html">Components</a> | <a href="dialogs.html">Dialogs</a> | <a href="events_and_handlers.html">Events and Handlers</a> | <a href="menus.html">Menus</a> | <a href="resource_files.html">Resource Files</a> | <a href="runtime_tools.html">Runtime Tools</a> <hr> <?php include "../footer.php" ?> --- 73,77 ---- <p>The noresource sample shows an example of a PythonCard application that does not have a resource file. The noresource sample also shows an ! example of dynamic component creation when the application starts up.</p> <hr> | <a href="general_concepts_and_limitations.html">General Concepts and Limitations</a> | <a href="components.html">Components</a> | <a href="dialogs.html">Dialogs</a> | <a href="events_and_handlers.html">Events and Handlers</a> | <a href="menus.html">Menus</a> | <a href="resource_files.html">Resource Files</a> | <a href="runtime_tools.html">Runtime Tools</a> <hr> <?php include "../footer.php" ?> Index: runtime_tools.html =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/docs/html/framework/runtime_tools.html,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** runtime_tools.html 14 Aug 2004 21:05:15 -0000 1.2 --- runtime_tools.html 25 Dec 2005 12:13:46 -0000 1.3 *************** *** 12,16 **** <?php include "../sidebar.php" ?> <div id="content"> ! <p>Updated: April 10, 2004 for release 0.7.3</p> <p>PythonCard supports the following runtime tools (command-line switch in --- 12,16 ---- <?php include "../sidebar.php" ?> <div id="content"> ! <p>Updated: December 25, 2005 for release 0.8.1</p> <p>PythonCard supports the following runtime tools (command-line switch in *************** *** 70,74 **** <pre> ! shell.autoCompleteIncludeMagic = True shell.autoCompleteIncludeSingle = False shell.autoCompleteIncludeDouble = False shell.autoCompleteWxMethods = False import os import sys # workaround for absolute pathnames # in sys.path (see model.py) if sys.path[0] not in ('', '.'): sys.path.insert(0, '') from wxPython import wx from PythonCard import dialog, util bg = pcapp.getCurrentBackground() self = bg comp = bg.components </pre> <p>These commands are in a pycrustrc.py file in the framework directory. You can --- 70,91 ---- <pre> ! shell.autoCompleteIncludeMagic = True ! shell.autoCompleteIncludeSingle = False ! shell.autoCompleteIncludeDouble = False ! shell.autoCompleteWxMethods = False ! ! import os ! import sys ! # workaround for absolute pathnames ! # in sys.path (see model.py) ! if sys.path[0] not in ('', '.'): ! sys.path.insert(0, '') ! ! import wx ! from PythonCard import dialog, util ! bg = pcapp.getCurrentBackground() ! self = bg ! comp = bg.components ! </pre> <p>These commands are in a pycrustrc.py file in the framework directory. You can |