From: Kevin A. <ka...@us...> - 2007-07-28 20:40:07
|
Update of /cvsroot/pythoncard/PythonCard/docs/html In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28956 Modified Files: moreapplications.html walkthrough1.html Log Message: fixed old instructions to refer to File->About menu item Index: moreapplications.html =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/docs/html/moreapplications.html,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** moreapplications.html 10 Nov 2004 19:22:21 -0000 1.7 --- moreapplications.html 28 Jul 2007 20:40:04 -0000 1.8 *************** *** 18,21 **** --- 18,32 ---- <hr /> <dl> + <dt>Name:</dt> + <dd>dijkstra</dd> + <dt>Description:</dt> + <dd>Dijkstra's Shortest Path Algorithm Demo</dd> + <dt>URL:</dt> + <dd><a href="http://codeshift.net/dijkstra">http://codeshift.net/dijkstra</a></dd> + </dl> + <p class="imageCaption"><img src="http://codeshift.net/dijkstra?action=AttachFile&do=get&target=dijkstra.png" alt="Screenshot of dijkstra" /></p> + + <hr /> + <dl> <dt>Name:</dt> <dd>PIMP: Photographic Image Management Package</dd> Index: walkthrough1.html =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/docs/html/walkthrough1.html,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** walkthrough1.html 3 Jan 2006 18:28:32 -0000 1.23 --- walkthrough1.html 28 Jul 2007 20:40:04 -0000 1.24 *************** *** 171,175 **** GettingStarted". In that directory is a file called starter1.py. Launch it in the usual way. It is a bare-bones PythonCard application. In fact, it's ! a copy of the minimal application you ran in the last section.</p> <p>Open the file starter1.py in your Python-aware editor of choice. The Python script is, as you'd expect, brief and to the point. Here's the important --- 171,175 ---- GettingStarted". In that directory is a file called starter1.py. Launch it in the usual way. It is a bare-bones PythonCard application. In fact, it's ! a copy of the minimal application you ran in the last section with just a few changes.</p> <p>Open the file starter1.py in your Python-aware editor of choice. The Python script is, as you'd expect, brief and to the point. Here's the important *************** *** 197,201 **** </pre> <p>Again, this new line of Python code is readable even if you're not a ! Python guru yet. Now when the user selects the Exit menu, rather than doing nothing, we'll display an alert dialog titled "Showing Off" that says "It works!"</p> --- 197,201 ---- </pre> <p>Again, this new line of Python code is readable even if you're not a ! Python guru yet. Now when the user selects the About menu item, rather than doing nothing, we'll display an alert dialog titled "Showing Off" that says "It works!"</p> *************** *** 217,222 **** consequences because these editors use a different graphics library from what PythonCard uses.</p> ! <p>Double-click the "starter1" application. When the window appears, ! select the Exit option from the File menu. You'll see a small dialog appear as described above.</p> <p>Close the application by selecting its window's close box.</p> --- 217,222 ---- consequences because these editors use a different graphics library from what PythonCard uses.</p> ! <p>Double-click the "starter1.py" application. When the window appears, ! select the About option from the File menu. You'll see a small dialog appear as described above.</p> <p>Close the application by selecting its window's close box.</p> *************** *** 231,237 **** takes its text from the text in a component called "field1." That happens, of course, to be the only field in our little application.</p> ! <p>Save the code. Then double-click the "starter1" application to try out the change.</p> ! <p>Now when you change the text in the field and select File->Exit, you'll see a dialog box that contains the text you put into the field.</p> <h2>What We've Learned</h2> --- 231,237 ---- takes its text from the text in a component called "field1." That happens, of course, to be the only field in our little application.</p> ! <p>Save the code. Then double-click the "starter1.py" application to try out the change.</p> ! <p>Now when you change the text in the field and select File->About, you'll see a dialog box that contains the text you put into the field.</p> <h2>What We've Learned</h2> |