From: Alex T. <ale...@us...> - 2005-08-21 18:48:08
|
Update of /cvsroot/pythoncard/PythonCard/docs/html In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv895 Modified Files: walkthrough1.html Log Message: New screenshots for current version; minor tweaks to description. Index: walkthrough1.html =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/docs/html/walkthrough1.html,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** walkthrough1.html 14 Aug 2005 16:55:48 -0000 1.17 --- walkthrough1.html 21 Aug 2005 18:47:59 -0000 1.18 *************** *** 121,125 **** systems, you may also see an operating system console window when the application launches. You can just minimize this window.)</p> ! <p class="imageCaption"><img height="503" alt="Screen shot of PythonCard Samples Launcher" src="images/wt1fig1.png" width="602" /><br /> Figure 1. Screen Shot of PythonCard's Samples Launcher</p> <p>In the scrolling list of applications, select "minimal." Read the --- 121,125 ---- systems, you may also see an operating system console window when the application launches. You can just minimize this window.)</p> ! <p class="imageCaption"><img alt="Screen shot of PythonCard Samples Launcher" src="images/wt1fig1.png" /><br /> Figure 1. Screen Shot of PythonCard's Samples Launcher</p> <p>In the scrolling list of applications, select "minimal." Read the *************** *** 142,146 **** functionality and want to close the application. You can either click the close box or choose Exit from the File Menu.</p> ! <p class="imageCaption"><img height="100" alt="Screen shot of minimal PythonCard application open window" src="images/wt1fig2.png" width="200" /><br /> Figure 2. Screen shot of minimal PythonCard application window</p> <p>Back in the Samples Launcher, select the sample called "dialogs." --- 142,146 ---- functionality and want to close the application. You can either click the close box or choose Exit from the File Menu.</p> ! <p class="imageCaption"><img alt="Screen shot of minimal PythonCard application open window" src="images/wt1fig2.png" /><br /> Figure 2. Screen shot of minimal PythonCard application window</p> <p>Back in the Samples Launcher, select the sample called "dialogs." *************** *** 148,157 **** When you're ready, click the "Launch" button. A window like the one in Figure 3 will appear.</p> ! <p class="imageCaption"><img height="410" alt="Screen shot of Dialogs launcher application in PythonCard" src="images/wt1fig3.png" width="500" /><br /> Figure 3. Screen Shot of Dialogs Launcher Application in PythonCard</p> ! <p>All of the dialog boxes you can see by clicking on buttons to the left of this window are built into PythonCard. Causing them to appear, and determining what the user selected or did with them, is, as you'll learn in a later ! walk-through, pretty straight-forward. Click on the "Alert" button. A small dialog appears. Click the "OK" button. Notice that in the Sample Dialogs window, you can see the name of the dialog (AlertDialog), and --- 148,157 ---- When you're ready, click the "Launch" button. A window like the one in Figure 3 will appear.</p> ! <p class="imageCaption"><img alt="Screen shot of Dialogs launcher application in PythonCard" src="images/wt1fig3.png" /><br /> Figure 3. Screen Shot of Dialogs Launcher Application in PythonCard</p> ! <p>All of the dialog boxes you can see by clicking on the text lines to the left of this window are built into PythonCard. Causing them to appear, and determining what the user selected or did with them, is, as you'll learn in a later ! walk-through, pretty straight-forward. Click on the "Alert" line. A small dialog appears. Click the "OK" button. Notice that in the Sample Dialogs window, you can see the name of the dialog (AlertDialog), and *************** *** 162,167 **** programming or scripting background, that may not be meaningful, but trust us, it's useful data.</p> ! <p>Now try the "Message" dialog. Run it twice, clicking "OK ! " once and "Cancel" the other time. Notice the differences in the information displayed in the Samples Launcher as a result.</p> <p>One more and then we'll go have some fun with this stuff. Click on the --- 162,167 ---- programming or scripting background, that may not be meaningful, but trust us, it's useful data.</p> ! <p>Now try the "Message" dialog. Run it three times, clicking "Yes ! " once, "No" once and "Cancel" the other time. Notice the differences in the information displayed in the Samples Launcher as a result.</p> <p>One more and then we'll go have some fun with this stuff. Click on the *************** *** 186,191 **** readable.) It's what we call an "event handler." It gets activated, or triggered, by the user causing some event. In this case, the user selects ! the File Menu's exit option and we do nothing (we "pass" the ! action).</p> <p>We're going to change what this menu choice does. You'd never handle an assignment the way we're going to show you here, but our purpose is just to --- 186,193 ---- readable.) It's what we call an "event handler." It gets activated, or triggered, by the user causing some event. In this case, the user selects ! the File Menu's "About" option and we do nothing (in Python, ! the "pass" statement does nothing; it's simply used as a ! placeholder where the syntax requires a ! statement but no action is needed).</p> <p>We're going to change what this menu choice does. You'd never handle an assignment the way we're going to show you here, but our purpose is just to |