Skip to content

Commit

Permalink
v1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
martinohanlon committed Dec 31, 2021
1 parent 9964d5e commit dcb9fe4
Show file tree
Hide file tree
Showing 52 changed files with 1,258 additions and 181 deletions.
2 changes: 1 addition & 1 deletion docs-src/docs/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@ The aim of guizero is to make the process of creating simple GUIs quick, accessi

### Version

guizero is currently [version 1.2.0](changelog.md)
guizero is currently [version 1.3.0](changelog.md)

2 changes: 1 addition & 1 deletion docs-src/docs/changelog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# guizero

## 1.3.0 - tbc
## 1.3.0 - 2022-01-01
- Added [TitleBox](./titlebox/) widget
- Added cursor_position property to [TextBox](./textbox/)
- Made wrapping consistent (`word`) for multiline [TextBox](./textbox/) and added a `wrap` property
Expand Down
2 changes: 1 addition & 1 deletion docs-src/docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ If you installed guizero using the easy install method, to upgrade you should fo
If you are using Windows you can install guizero by downloading and running a Windows MSI installer application.
1. Download either the [64-bit guizero installer](https://github.com/lawsie/guizero/releases/latest/download/guizero-1.2.0.amd64.msi) or the [32-bit guizero installer](https://github.com/lawsie/guizero/releases/latest/download/guizero-1.2.0.win32.msi) depending on which version of Python you are using.
1. Download either the [64-bit guizero installer](https://github.com/lawsie/guizero/releases/latest/download/guizero-1.3.0.amd64.msi) or the [32-bit guizero installer](https://github.com/lawsie/guizero/releases/latest/download/guizero-1.3.0.win32.msi) depending on which version of Python you are using.
**Note:** If you are not sure what version of python you are running, run the following program in Python, which will output either `32` or `64`:
Expand Down
8 changes: 7 additions & 1 deletion docs/about/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,12 @@



<li >
<a href="../titlebox/">TitleBox</a>
</li>



<li >
<a href="../waffle/">Waffle</a>
</li>
Expand Down Expand Up @@ -382,7 +388,7 @@ <h3 id="aims">Aims</h3>
<li>Generates helpful additional error messages</li>
</ul>
<h3 id="version">Version</h3>
<p>guizero is currently <a href="../changelog/">version 1.2.0</a></p></div>
<p>guizero is currently <a href="../changelog/">version 1.3.0</a></p></div>


</div>
Expand Down
6 changes: 6 additions & 0 deletions docs/alerts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,12 @@



<li >
<a href="../titlebox/">TitleBox</a>
</li>



<li >
<a href="../waffle/">Waffle</a>
</li>
Expand Down
6 changes: 6 additions & 0 deletions docs/app/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,12 @@



<li >
<a href="../titlebox/">TitleBox</a>
</li>



<li >
<a href="../waffle/">Waffle</a>
</li>
Expand Down
6 changes: 6 additions & 0 deletions docs/blocking/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,12 @@



<li >
<a href="../titlebox/">TitleBox</a>
</li>



<li >
<a href="../waffle/">Waffle</a>
</li>
Expand Down
6 changes: 6 additions & 0 deletions docs/book/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,12 @@



<li >
<a href="../titlebox/">TitleBox</a>
</li>



<li >
<a href="../waffle/">Waffle</a>
</li>
Expand Down
6 changes: 6 additions & 0 deletions docs/box/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,12 @@



<li >
<a href="../titlebox/">TitleBox</a>
</li>



<li >
<a href="../waffle/">Waffle</a>
</li>
Expand Down
6 changes: 6 additions & 0 deletions docs/buttongroup/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,12 @@



<li >
<a href="../titlebox/">TitleBox</a>
</li>



<li >
<a href="../waffle/">Waffle</a>
</li>
Expand Down
18 changes: 18 additions & 0 deletions docs/changelog/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,12 @@



<li >
<a href="../titlebox/">TitleBox</a>
</li>



<li >
<a href="../waffle/">Waffle</a>
</li>
Expand Down Expand Up @@ -347,6 +353,8 @@
<div class="col-md-3"><div class="bs-sidebar hidden-print affix well" role="complementary">
<ul class="nav bs-sidenav">
<li class="first-level active"><a href="#guizero">guizero</a></li>
<li class="second-level"><a href="#130-2022-01-01">1.3.0 - 2022-01-01</a></li>

<li class="second-level"><a href="#120-2021-05-04">1.2.0 - 2021-05-04</a></li>

<li class="second-level"><a href="#111-2020-11-27">1.1.1 - 2020-11-27</a></li>
Expand Down Expand Up @@ -390,6 +398,16 @@
<div class="col-md-9" role="main">

<h1 id="guizero">guizero</h1>
<h2 id="130-2022-01-01">1.3.0 - 2022-01-01</h2>
<ul>
<li>Added <a href="./titlebox/">TitleBox</a> widget</li>
<li>Added cursor_position property to <a href="./textbox/">TextBox</a></li>
<li>Made wrapping consistent (<code>word</code>) for multiline <a href="./textbox/">TextBox</a> and added a <code>wrap</code> property</li>
<li>Code tidy up</li>
<li>Tested with Python 3.10 and added python version classifiers to setup.py</li>
<li>Minor documentation updates</li>
<li>contributors <a href="https://github.com/martinohanlon">martinohanlon</a>, <a href="https://github.com/lawsie">lawsie</a>, <a href="https://github.com/kosme">kosme</a> - "^</li>
</ul>
<h2 id="120-2021-05-04">1.2.0 - 2021-05-04</h2>
<ul>
<li>Added <code>filename</code> to <code>select_file</code> dialog</li>
Expand Down
6 changes: 6 additions & 0 deletions docs/checkbox/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,12 @@



<li >
<a href="../titlebox/">TitleBox</a>
</li>



<li >
<a href="../waffle/">Waffle</a>
</li>
Expand Down
12 changes: 12 additions & 0 deletions docs/colors/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,12 @@



<li >
<a href="../titlebox/">TitleBox</a>
</li>



<li >
<a href="../waffle/">Waffle</a>
</li>
Expand Down Expand Up @@ -376,6 +382,12 @@ <h2 id="colors-or-colours">Colors (or Colo<strong>u</strong>rs)</h2>
text.text_color = (0, 255, 0)
</code></pre>
<p>If a color is set using a list of rgb values (<code>(255,255,255)</code>) it will be returned as an #rgb hex value (<code>#ffffff</code>)</p>
<p>A widget's color can be reset to its default value by setting the property to <code>None</code>, for example:</p>
<pre><code class="language-python">text = Text(app, text = &quot;hi&quot;)
text.text_color = &quot;green&quot;
# reset to original color
text.text_color = None
</code></pre>
<h3 id="color-names">Color names</h3>
<p>Some color names can be given as strings, for example</p>
<ul>
Expand Down
6 changes: 6 additions & 0 deletions docs/combo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,12 @@



<li >
<a href="../titlebox/">TitleBox</a>
</li>



<li >
<a href="../waffle/">Waffle</a>
</li>
Expand Down
6 changes: 6 additions & 0 deletions docs/commands/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,12 @@



<li >
<a href="../titlebox/">TitleBox</a>
</li>



<li >
<a href="../waffle/">Waffle</a>
</li>
Expand Down
6 changes: 6 additions & 0 deletions docs/contributing/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,12 @@



<li >
<a href="../titlebox/">TitleBox</a>
</li>



<li >
<a href="../waffle/">Waffle</a>
</li>
Expand Down
6 changes: 6 additions & 0 deletions docs/deployment/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,12 @@



<li >
<a href="../titlebox/">TitleBox</a>
</li>



<li >
<a href="../waffle/">Waffle</a>
</li>
Expand Down
21 changes: 17 additions & 4 deletions docs/development/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,12 @@



<li >
<a href="../titlebox/">TitleBox</a>
</li>



<li >
<a href="../waffle/">Waffle</a>
</li>
Expand Down Expand Up @@ -363,12 +369,15 @@ <h1 id="development">Development</h1>
<p>Notes on how to develop guizero (on Windows).</p>
<h2 id="setup">Setup</h2>
<p>Upgrade pip:</p>
<pre><code>python.exe -m pip install pip --upgrade
<pre><code>python -m pip install pip --upgrade
</code></pre>
<p>Install / upgrade pre-requisites:</p>
<pre><code>pip install mkdocs wheel twine virtualenv pytest pillow --upgrade
</code></pre>
<h2 id="python-library">Python library</h2>
<p>Uninstall previous versions of guizero: </p>
<pre><code>pip uninstall guizero
</code></pre>
<p>Create a virtual environment (not essential, but a good idea!):</p>
<pre><code>virtualenv guizero-[versionno]
cd guizero-[versionno]
Expand All @@ -386,12 +395,16 @@ <h2 id="python-library">Python library</h2>
<pre><code>Scripts\deactivate
</code></pre>
<h2 id="tests">Tests</h2>
<p>To run the automated tests:</p>
<p>If running the tests inside a virtual environment you will need to install pytest in that virtual environment.</p>
<pre><code>pip install pytest
</code></pre>
<p>To run all the automated tests:</p>
<pre><code>cd guizero\test
pytest -v
</code></pre>
<p>If running the tests inside a virtual environment you will need to install pytest in that virtual environment.</p>
<pre><code>pip install pytest
<p>To run a specific test:</p>
<pre><code>cd guizero\test
pytest -v [test_filename.py]
</code></pre>
<p><em>Note - tkinter can error when running the tests usually when the interpreter doesn't start properly, it doesn't seem to like being initialised and destroyed hundreds of times, I suspect a file locking issue as you don't see the problem on Linux. So sometimes you might get a test fail with an error like <code>This probably means that tk wasn't installed properly.</code>. Just re-run the last failed errors! <code>pytest --lf -v</code></em></p>
<h2 id="documents">Documents</h2>
Expand Down
6 changes: 6 additions & 0 deletions docs/drawing/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,12 @@



<li >
<a href="../titlebox/">TitleBox</a>
</li>



<li >
<a href="../waffle/">Waffle</a>
</li>
Expand Down
6 changes: 6 additions & 0 deletions docs/events/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,12 @@



<li >
<a href="../titlebox/">TitleBox</a>
</li>



<li >
<a href="../waffle/">Waffle</a>
</li>
Expand Down
6 changes: 6 additions & 0 deletions docs/gettinghelp/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,12 @@



<li >
<a href="../titlebox/">TitleBox</a>
</li>



<li >
<a href="../waffle/">Waffle</a>
</li>
Expand Down
Binary file added docs/images/guizero-class-hierarchy.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions docs/images/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,12 @@



<li >
<a href="../titlebox/">TitleBox</a>
</li>



<li >
<a href="../waffle/">Waffle</a>
</li>
Expand Down
Binary file added docs/images/titlebox-app.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/titlebox-complicated.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/titlebox.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 9 additions & 3 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,12 @@



<li >
<a href="titlebox/">TitleBox</a>
</li>



<li >
<a href="waffle/">Waffle</a>
</li>
Expand Down Expand Up @@ -490,7 +496,7 @@ <h2 id="windows-msi-installer">Windows MSI installer</h2>
<p>If you are using Windows you can install guizero by downloading and running a Windows MSI installer application.</p>
<ol>
<li>
<p>Download either the <a href="https://github.com/lawsie/guizero/releases/latest/download/guizero-1.2.0.amd64.msi">64-bit guizero installer</a> or the <a href="https://github.com/lawsie/guizero/releases/latest/download/guizero-1.2.0.win32.msi">32-bit guizero installer</a> depending on which version of Python you are using.</p>
<p>Download either the <a href="https://github.com/lawsie/guizero/releases/latest/download/guizero-1.3.0.amd64.msi">64-bit guizero installer</a> or the <a href="https://github.com/lawsie/guizero/releases/latest/download/guizero-1.3.0.win32.msi">32-bit guizero installer</a> depending on which version of Python you are using.</p>
<p><strong>Note:</strong> If you are not sure what version of python you are running, run the following program in Python, which will output either <code>32</code> or <code>64</code>:</p>
<pre><code>import struct
print(struct.calcsize("P") * 8)
Expand Down Expand Up @@ -607,6 +613,6 @@ <h4 class="modal-title" id="keyboardModalLabel">Keyboard Shortcuts</h4>
</html>

<!--
MkDocs version : 1.1.2
Build Date UTC : 2021-05-25 14:49:57.987367+00:00
MkDocs version : 1.2.3
Build Date UTC : 2021-12-31 17:20:16.383461+00:00
-->
6 changes: 6 additions & 0 deletions docs/layout/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,12 @@



<li >
<a href="../titlebox/">TitleBox</a>
</li>



<li >
<a href="../waffle/">Waffle</a>
</li>
Expand Down
Loading

0 comments on commit dcb9fe4

Please sign in to comment.