~toolpart/+junk/pythoncard

« back to all changes in this revision

Viewing changes to docs/html/samples2.html

  • Committer: Bazaar Package Importer
  • Author(s): Mohammed Adnène Trojette
  • Date: 2006-11-12 17:52:13 UTC
  • mfrom: (2.1.5 feisty)
  • Revision ID: james.westby@ubuntu.com-20061112175213-tv8bnl6rtpa2qw1o
Tags: 0.8.1-8.1
* Non-maintainer upload.
* Fix path to findfiles, codeEditor and resourceEditor:
   + patch from Ernest ter Kuile <ernestjw@xs4all.nl>. (Closes: #397018)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2
 
<HTML>
3
 
<HEAD>
4
 
<TITLE>PythonCard Prototype Samples 2</TITLE>
5
 
<META NAME="description" CONTENT="PythonCard Prototype Samples 2">
6
 
<META NAME="keywords" CONTENT="lib">
7
 
<META NAME="resource-type" CONTENT="document">
8
 
<META NAME="distribution" CONTENT="global">
9
 
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
10
 
<link rel="STYLESHEET" href="PythonCard.css">
11
 
<!-- <LINK REL="previous" href="{previous_page}"> -->
12
 
<LINK REL="up" href="index.html">
13
 
<!-- <LINK REL="next" href="{next_page}"> -->
14
 
</HEAD>
15
 
<BODY>
16
 
<DIV CLASS="navigation">
17
 
<table align="center" width="100%" cellpadding="0" cellspacing="2">
18
 
<tr>
19
 
<td height="32"><A href="./samples.html"><img src="icon/previous.gif"
20
 
  border="0" height="32"
21
 
  alt="Previous Page" width="32"></A></td>
22
 
<td height="32"><A href="index.html"><img src="icon/up.gif"
23
 
  border="0" height="32"
24
 
  alt="Up One Level" width="32"></A></td>
25
 
<td height="32"><A href="samples3.html"><img src="icon/next.gif" 
26
 
  border="0" height="32" 
27
 
  alt="Next Page" width="32"></A></td>
28
 
<td align="center" width="100%">PythonCard Prototype Samples 2</td>
29
 
<td height="32"><A href=""><img src="icon/blank.gif"
30
 
  border="0" height="32"
31
 
  alt="" width="32"></A></td>
32
 
<td height="32"><a href="" title=""><img src="icon/blank.gif"
33
 
  border="0" height="32"
34
 
  alt="" width="32"></a></td>
35
 
<td height="32"><A href=""><img src="icon/blank.gif"
36
 
  border="0" height="32"
37
 
  alt="" width="32"></A></td>
38
 
</tr></table>
39
 
<b class="navlabel">Previous:</b> <a class="sectref" href="samples.html">Samples</A>
40
 
<b class="navlabel">Up:</b><A class="sectref" href="index.html">PythonCard Home</A>
41
 
<b class="navlabel">Next:</b> <a class="sectref" href="samples3.html">Samples 3</A>
42
 
<br><hr>
43
 
</DIV>
44
 
<!--End of Navigation Panel-->
45
 
 
46
 
<H2><A NAME="HEADER2_01">&nbsp</A>
47
 
<BR>
48
 
Samples Screen Shots 2
49
 
</H2>
50
 
<H3>hopalong</H3>
51
 
<P>
52
 
  <A HREF="http://pythoncard.sourceforge.net/images/hopalong_01.jpg"><IMG SRC="http://pythoncard.sourceforge.net/images/hopalong_0101.jpg" ALT="Full size" BORDER=0></A>
53
 
  <BR><BR>
54
 
  This sample plots points using the hopalong algorithm by Barry Martin presented in the September 1986 Scientific American.
55
 
</P>
56
 
<H3>minimal</H3>
57
 
<P>
58
 
  <IMG SRC="http://pythoncard.sourceforge.net/images/large/Minimal.gif" BORDER=0>
59
 
  <IMG SRC="http://pythoncard.sourceforge.net/images/snapminimal_01.png" BORDER=0>
60
 
  <BR><BR>
61
 
  This is about as basic as you can make your application. 
62
 
  For those of us who like to 're-use' code this is a good base to build on.
63
 
  Add items one by one to this minimal PythonCard app to make it easier to understand what is going on.
64
 
</P>
65
 
<H3>proof</H3>
66
 
<P>
67
 
  <A HREF="http://pythoncard.sourceforge.net/images/large/Proof.gif"><IMG SRC="http://pythoncard.sourceforge.net/images/small/Proof.gif" ALT="Full size" BORDER=0></A>
68
 
    <A HREF="http://pythoncard.sourceforge.net/images/snapproof_01.png"><IMG SRC="http://pythoncard.sourceforge.net/images/snapproof_0101.png" ALT="Full size" BORDER=0></A>
69
 
        <BR><BR>
70
 
  This application implements the proof of concept statement of requirements as specified <A HREF="requirements.html">here</A>. 
71
 
  It is pretty basic but it does show all of the different widget types you can use.
72
 
  This example also demonstrates the use of an image as a canvas background.
73
 
</P>
74
 
<H3>samples</H3>
75
 
<P>
76
 
  <A HREF="http://pythoncard.sourceforge.net/images/large/SamplesLauncher.gif"><IMG SRC="http://pythoncard.sourceforge.net/images/small/SamplesLauncher.gif" ALT="Full size" BORDER=0></A>
77
 
  <BR><BR>
78
 
  The samples launcher provides a convenient way to try each sample, browse the readme, source code and layout description for each sample.
79
 
</P>
80
 
<H3>searchExplorer</H3>
81
 
<P>
82
 
  <A HREF="http://pythoncard.sourceforge.net/images/large/SearchExplorer.gif"><IMG SRC="http://pythoncard.sourceforge.net/images/small/SearchExplorer.gif" ALT="Full size" BORDER=0></A>
83
 
  <BR><BR>
84
 
  This sample demonstrates just how easy it is to develop quite useful applications using the PythonCard framework.
85
 
  To use this application, just enter a search string in the first text item, select where you would like to perform the search from the 'Sites' list and then press the 'Search' button.
86
 
  As you perform searches they are saved in the 'Past Searches' list, a bit like web page URLs in your browser. 
87
 
  To re-run a search select it from the list and press the 'Search' button.
88
 
</P>
89
 
<H3>sounds</H3>
90
 
<P>
91
 
  <IMG SRC="http://pythoncard.sourceforge.net/images/large/Sounds.gif" size" BORDER=0>
92
 
  <BR><BR>
93
 
  Another really simple but powerful application is this example which will play a sound file.
94
 
</P>
95
 
<H3>SourceForgeTracker</H3>
96
 
<P>
97
 
  <A HREF="http://pythoncard.sourceforge.net/images/SourceForgeTracker_01.jpg"><IMG SRC="http://pythoncard.sourceforge.net/images/SourceForgeTracker_0101.jpg" ALT="Full size" BORDER=0></A>
98
 
  <BR><BR>
99
 
  SourceForgeTracker downloads XML from SourceForge in order to display Bug
100
 
  Reports and Feature Requests for a variety of Python SF projects.
101
 
</P>
102
 
<H3>textEditor</H3>
103
 
<P>
104
 
  <A HREF="http://pythoncard.sourceforge.net/images/textEditor01.jpg"><IMG SRC="http://pythoncard.sourceforge.net/images/textEditor0101.jpg" ALT="Full size" BORDER=0></A>
105
 
  <BR><BR>
106
 
  A basic text editor.
107
 
</P>
108
 
<H3>textIndexer</H3>
109
 
<P>
110
 
  <A HREF="http://pythoncard.sourceforge.net/images/textIndexer01.jpg"><IMG SRC="http://pythoncard.sourceforge.net/images/textIndexer0101.jpg" ALT="Full size" BORDER=0></A>
111
 
  <BR><BR>
112
 
  Dan Winkler's original PythonCard test converted from tkinter to PythonCard.
113
 
</P>
114
 
<H3>textRouter</H3>
115
 
<P>
116
 
  <A HREF="http://pythoncard.sourceforge.net/images/textRouter01.jpg"><IMG SRC="http://pythoncard.sourceforge.net/images/textRouter0101.jpg" ALT="Full size" BORDER=0></A>
117
 
  <BR><BR>
118
 
  TextRouter is a generic weblogging and text "routing" client.  It's
119
 
  main use is for posting to Blogger and/or Manila maintained weblogs. More screen shots are available at 
120
 
  <a href="http://simon.kittle.info/stories/storyReader$116">http://simon.kittle.info/stories/storyReader$116</a>. Simon Kittle
121
 
  maintains a page for <a href="http://simon.kittle.info/textrouter">TextRouter</a> that includes a standalone binary
122
 
  installer for Windows.
123
 
</P>
124
 
<H3>Noughts and Crosses (tictactoe)</H3>
125
 
<P>
126
 
  <A HREF="http://pythoncard.sourceforge.net/images/tictactoe_01.jpg"><IMG SRC="http://pythoncard.sourceforge.net/images/tictactoe_0101.jpg" ALT="Full size" BORDER=0></A>
127
 
  <BR><BR>
128
 
  When I was young we used to call this game noughts and crosses. 
129
 
  Some of you may know it as Tic Tac Toe. 
130
 
  The best way to see what this sample application does is to run it.
131
 
  If anyone would like to write a more advanced algorithm for the computer player then please go ahead.
132
 
  When you have finished you can post it to the <A HREF="http://lists.sourceforge.net/lists/listinfo/pythoncard-users">mailing list</A>.
133
 
</P> 
134
 
<H3>widgets</H3>
135
 
<P>
136
 
  <A HREF="http://pythoncard.sourceforge.net/images/large/Widgets.gif"><IMG SRC="http://pythoncard.sourceforge.net/images/small/Widgets.gif" ALT="Full size" BORDER=0></A> 
137
 
    <A HREF="http://pythoncard.sourceforge.net/images/snapwidgets_01.png"><IMG SRC="http://pythoncard.sourceforge.net/images/snapwidgets_0101.png" ALT="Full size" BORDER=0></A>
138
 
  <BR><BR>
139
 
  This sample application is designed to demonstrate some of the events that are associated with particular widgets. 
140
 
  The buttons and check boxes on the right hand side of the screen are active and have code associated with them.
141
 
  Again, the best way to find out what the various controls do is to try them out.
142
 
</P>
143
 
<H3>worldclock</H3>
144
 
<P>
145
 
  <IMG SRC="http://pythoncard.sourceforge.net/images/large/WorldClock.jpg" BORDER=0>
146
 
  <BR><BR>
147
 
  Last, but certainly not least, is the world clock. 
148
 
  A rather natty application that shows you where in the world currently has daylight and where is dark. 
149
 
  You will need to be connected to the internet for this to function properly as the different map images are downloaded from <A HREF="http://www.time.gov/">http://www.time.gov/</A>
150
 
  Can you tell when this screen shot was taken?
151
 
</P>
152
 
<!--Footer Navigation Panel-->
153
 
<DIV CLASS="navigation">
154
 
<hr>
155
 
<table align="center" width="100%" cellpadding="0" cellspacing="2">
156
 
<tr>
157
 
<td height="32"><A href="./samples.html"><img src="icon/previous.gif"
158
 
  border="0" height="32"
159
 
  alt="Previous Page" width="32"></A></td>
160
 
<td height="32"><A href="index.html"><img src="icon/up.gif"
161
 
  border="0" height="32"
162
 
  alt="Up One Level" width="32"></A></td>
163
 
<td height="32"><A href="samples3.html"><img src="icon/next.gif"
164
 
  border="0" height="32"
165
 
  alt="Next Page" width="32"></A></td>
166
 
<td align="center" width="100%">PythonCard Prototype Samples 2</td>
167
 
<td height="32"><A href=""><img src="icon/blank.gif"
168
 
  border="0" height="32"
169
 
  alt="" width="32"></A></td>
170
 
<td height="32"><a href="" title=""><img src="icon/blank.gif"
171
 
  border="0" height="32"
172
 
  alt="" width="32"></a></td>
173
 
<td height="32"><A href=""><img src="icon/blank.gif"
174
 
  border="0" height="32"
175
 
  alt="" width="32"></A></td>
176
 
</tr></table>
177
 
<b class="navlabel">Previous:</b> <a class="sectref" href="samples.html">Samples</A>
178
 
<b class="navlabel">Up:</b> <a class="sectref" href="index.html">PythonCard Home</A>
179
 
<b class="navlabel">Next:</b> <a class="sectref" href="samples3.html">Samples 3</A>
180
 
<hr>
181
 
</DIV>
182
 
<!--End of Navigation Panel-->
183
 
<span class="release-info">$Revision: 1.11 $, documentation updated on $Date: 2002/02/07 23:48:27 $</span>
184
 
<IMG src="http://sourceforge.net/sflogo.php?group_id=19015&type=1"
185
 
width="88" height="31" border="0" alt="SourceForge Logo">
186
 
<!-- <ADDRESS>
187
 
See <i><a href="about.html">About this document...</a></i> for information on suggesting changes.
188
 
</ADDRESS> -->
189
 
</BODY>
190
 
</HTML>
 
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
2
<html>
 
3
  <head>
 
4
    <meta name="description" content="PythonCard Prototype Samples" />
 
5
    <meta name="keywords" content="lib" />
 
6
    <meta name="resource-type" content="document" />
 
7
    <meta name="distribution" content="global" />
 
8
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
 
9
    <link rel="stylesheet" href="PythonCard.css" type="text/css" />
 
10
    <title>PythonCard Prototype Samples 2</title>
 
11
  </head>
 
12
  <body>
 
13
    <div id="banner">
 
14
    <h1>PythonCard Prototype Samples</h1>
 
15
    </div>
 
16
<?php include "sidebar.php" ?>
 
17
    <div id="content">
 
18
    <p><a href="samples.html">Page 1</a> | Page 2 | <a href="samples3.html">Page 3</a></p>
 
19
    <h2><a name="HEADER2_01">Samples Screen Shots 2</a></h2>
 
20
    <h3>hopalong</h3>
 
21
    <p class="imageCaption"><a href="http://pythoncard.sourceforge.net/images/hopalong_01.jpg"><img src="http://pythoncard.sourceforge.net/images/hopalong_0101.jpg" alt="Full size" /></a></p>
 
22
    <p>This sample plots points using the hopalong algorithm by Barry Martin 
 
23
    presented in the September 1986 Scientific American.</p>
 
24
    <h3>minimal</h3>
 
25
    <p class="imageCaption">
 
26
      <img src="http://pythoncard.sourceforge.net/images/large/Minimal.gif" alt="Minimal on windows" />
 
27
      <img src="http://pythoncard.sourceforge.net/images/snapminimal_01.png" alt="Minimal om Linux" />
 
28
    </p>
 
29
    <p>This is about as basic as you can make your application. For those of us 
 
30
    who like to 're-use' code this is a good base to build on. Add items one by 
 
31
    one to this minimal PythonCard app to make it easier to understand what is 
 
32
    going on.</p>
 
33
    <h3>proof</h3>
 
34
    <p class="imageCaption">
 
35
      <a href="http://pythoncard.sourceforge.net/images/large/Proof.gif"><img src="http://pythoncard.sourceforge.net/images/small/Proof.gif" alt="Full size proof on Windows" /></a>
 
36
      <a href="http://pythoncard.sourceforge.net/images/snapproof_01.png"><img src="http://pythoncard.sourceforge.net/images/snapproof_0101.png" alt="Full size proof on Linux" /></a>
 
37
    </p>
 
38
    <p>This application implements the proof of concept statement of requirements 
 
39
    as specified <a href="requirements.html">here</a>. It is pretty basic but it 
 
40
    does show all of the different widget types you can use. This example also 
 
41
    demonstrates the use of an image as a canvas background.</p>
 
42
    <h3>samples</h3>
 
43
    <p class="imageCaption"><a href="http://pythoncard.sourceforge.net/images/large/SamplesLauncher.gif"><img src="http://pythoncard.sourceforge.net/images/small/SamplesLauncher.gif" alt="Full size samples launcher" /></a></p>
 
44
    <p>The samples launcher provides a convenient way to try each sample, browse 
 
45
    the readme, source code and layout description for each sample.</p>
 
46
    <h3>searchExplorer</h3>
 
47
    <p class="imageCaption"><a href="http://pythoncard.sourceforge.net/images/large/SearchExplorer.gif"><img src="http://pythoncard.sourceforge.net/images/small/SearchExplorer.gif" alt="Full size search explorer" /></a></p>
 
48
    <p>This sample demonstrates just how easy it is to develop quite useful 
 
49
    applications using the PythonCard framework. To use this application, just 
 
50
    enter a search string in the first text item, select where you would like to 
 
51
    perform the search from the 'Sites' list and then press the 'Search' button.
 
52
    As you perform searches they are saved in the 'Past Searches' list, a bit 
 
53
    like web page URLs in your browser. To re-run a search select it from the 
 
54
    list and press the 'Search' button.</p>
 
55
    <h3>sounds</h3>
 
56
    <p class="imageCaption"><img src="http://pythoncard.sourceforge.net/images/large/Sounds.gif" alt="Sounds sample" /></p>
 
57
    <p>Another really simple but powerful application is this example which will 
 
58
    play a sound file.</p>
 
59
    <h3>SourceForgeTracker</h3>
 
60
    <p class="imageCaption"><a href="http://pythoncard.sourceforge.net/images/SourceForgeTracker_01.jpg"><img src="http://pythoncard.sourceforge.net/images/SourceForgeTracker_0101.jpg" alt="Full size sourceforge tracker" /></a></p>
 
61
    <p>SourceForgeTracker downloads XML from SourceForge in order to display Bug
 
62
    Reports and Feature Requests for a variety of Python SF projects.</p>
 
63
    <h3>textEditor</h3>
 
64
    <p class="imageCaption"><a href="http://pythoncard.sourceforge.net/images/textEditor01.jpg"><img src="http://pythoncard.sourceforge.net/images/textEditor0101.jpg" alt="Full size text editor" /></a></p>
 
65
    <p>A basic text editor.</p>
 
66
    <h3>textIndexer</h3>
 
67
    <p class="imageCaption"><a href="http://pythoncard.sourceforge.net/images/textIndexer01.jpg"><img src="http://pythoncard.sourceforge.net/images/textIndexer0101.jpg" alt="Full size text indexer" /></a></p>
 
68
    <p>Dan Winkler's original PythonCard test converted from tkinter to 
 
69
    PythonCard.</p>
 
70
    <h3>textRouter</h3>
 
71
    <p class="imageCaption"><a href="http://pythoncard.sourceforge.net/images/textRouter01.jpg"><img src="http://pythoncard.sourceforge.net/images/textRouter0101.jpg" alt="Full size text indexer" /></a></p>
 
72
    <p>TextRouter is a generic weblogging and text "routing" client. It's main 
 
73
    use is for posting to Blogger and/or Manila maintained weblogs. More screen 
 
74
    shots are available at <a href="http://simon.kittle.info/stories/storyReader$116">http://simon.kittle.info/stories/storyReader$116</a>. 
 
75
    Simon Kittle maintains a page for <a href="http://simon.kittle.info/textrouter">TextRouter</a> that includes a standalone binary installer for Windows.</p>
 
76
    <h3>Noughts and Crosses (tictactoe)</h3>
 
77
    <p class="imageCaption"><a href="http://pythoncard.sourceforge.net/images/tictactoe_01.jpg"><img src="http://pythoncard.sourceforge.net/images/tictactoe_0101.jpg" alt="Full size tic tac toe" /></a></p>
 
78
    <p>When I was young we used to call this game noughts and crosses. Some of 
 
79
    you may know it as Tic Tac Toe. The best way to see what this sample 
 
80
    application does is to run it. If anyone would like to write a more advanced 
 
81
    algorithm for the computer player then please go ahead. When you have 
 
82
    finished you can post it to the <a href="http://lists.sourceforge.net/lists/listinfo/pythoncard-users">mailing list</a>.</p> 
 
83
    <h3>widgets</h3>
 
84
    <p class="imageCaption">
 
85
      <a href="http://pythoncard.sourceforge.net/images/large/Widgets.gif"><img src="http://pythoncard.sourceforge.net/images/small/Widgets.gif" alt="Full size widgets sample on Windows" /></a>
 
86
      <a href="http://pythoncard.sourceforge.net/images/snapwidgets_01.png"><img src="http://pythoncard.sourceforge.net/images/snapwidgets_0101.png" alt="Full size widgets sample on Linux" /></a>
 
87
    </p>
 
88
    <p>This sample application is designed to demonstrate some of the events that 
 
89
    are associated with particular widgets. The buttons and check boxes on the 
 
90
    right hand side of the screen are active and have code associated with them.
 
91
    Again, the best way to find out what the various controls do is to try them 
 
92
    out.</p>
 
93
    <h3>worldclock</h3>
 
94
    <p class="imageCaption"><img src="http://pythoncard.sourceforge.net/images/large/WorldClock.jpg" alt="World clock sample" /></p>
 
95
    <p>Last, but certainly not least, is the world clock. A rather natty 
 
96
    application that shows you where in the world currently has daylight and 
 
97
    where is dark. You will need to be connected to the internet for this to 
 
98
    function properly as the different map images are downloaded from 
 
99
    <a href="http://www.time.gov/">http://www.time.gov/</a>. Can you tell when 
 
100
    this screen shot was taken?</p>
 
101
    <p>The next page of screenshots are <a href="samples3.html">here</a>.</p>
 
102
    <?php include "footer.php" ?>
 
103
    <p>$Revision: 1.12 $ : $Author: kasplat $ : Last updated $Date: 2004/07/26 15:35:31 $</p>
 
104
    </div> <!-- end of content -->
 
105
  </body>
 
106
</html>