Skip to content

Commit

Permalink
0.6.2 (#281)
Browse files Browse the repository at this point in the history
* fix ListBox scrollbar

* added module level dunders

* remove deb files

* Ability to add tk widgets into guizero (#276)

* POC for add_tk_widget

* update example

* update example

* updated documentation

* doc updates

* added tests

* updates after review

* Menu bar (#278)

* fix menu bar color

* tidy up

* added text editor example

* v 0.6.2
  • Loading branch information
Martin O'Hanlon authored Apr 5, 2019
1 parent 51e93cc commit 4946a28
Show file tree
Hide file tree
Showing 63 changed files with 414 additions and 240 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# guizero

[Version 0.6.1](http://lawsie.github.io/guizero/changelog) (8th Mar 2019)
[Version 0.6.2](http://lawsie.github.io/guizero/changelog) (5th Apr 2019)

guizero is designed to allow children to quickly and easily create GUIs for their programs.

Expand Down
2 changes: 1 addition & 1 deletion docs-src/docs/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ The aim of guizero is to make the process of creating simple GUIs quick, accessi

### Version

guizero is currently [version 0.6.1](changelog.md)
guizero is currently [version 0.6.2](changelog.md)

There may be bugs and features may change and be updated.
37 changes: 19 additions & 18 deletions docs-src/docs/app.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,24 +39,25 @@ Parameters in _italics_ will still work but are **deprecated** - this means you

You can call the following methods on an `App` object.

| Method | Takes | Returns | Description |
|----------------------------------|---------------------------------------------------------------|---------|----------------------------------------------------------------------------------------------------------------------------------------------------------------|
| after(time, command, args=None) | time (int), command (function name), args (list of arguments) | - | Schedules a **single** call to `command` after `time` milliseconds. (To repeatedly call the same command, use `repeat()`) |
| cancel(command) | command (function name) | - | Cancels a scheduled call to `command` |
| destroy() | - | - | Destroys the widget |
| disable() | - | - | Disables all the widgets in the app so that they cannot be interacted with |
| display() | - | - | Displays the app on the screen. You **MUST** call this method at the end of your program to display the app on the screen. |
| enable() | - | - | Enables all the widgets in the app |
| exit_full_screen() | - | - | Exit full screen display |
| focus() | - | - | Gives focus to the widget |
| hide() | - | - | Hides the app window from view. |
| on_close(command) | command (function name) | - | Calls the given function when the user tries to close the window. |
| repeat(time, command, args=None) | time (int), command (function name), args (list of arguments) | - | Repeats `command` every `time` milliseconds. This is useful for scheduling a function to be regularly called, for example updating a value read from a sensor. |
| show() | - | - | Displays the app window if it was previously hidden |
| update() | - | - | Force the application to update itself, useful if changes aren't reflected in the UI. |
| set_full_screen(keybind) | String | - | Set the application to display full screen. Option to specify a key to exit full screen (default is 'Esc'.) |
| _set_title(title)_ | _title (string)_ | - | _Replaced by `title` property_ |
| _bgcolor_ | _bgcolor (string)_ | - | _Replaced by `bg` property_ |
| Method | Takes | Returns | Description |
|------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------|---------|----------------------------------------------------------------------------------------------------------------------------------------------------------------|
| add_tk_widget(tk_widget, grid=None, align=None, visible=True, enabled=None, width=None, height=None) | tk_widget (tk), grid (list), align (str), visible (bool), enabled (bool), width (int), height (int) | Widget | Adds a tk widget into a guizero container. Note - this is an advanced feature see [Using tk](usingtk.md) for more information. |
| after(time, command, args=None) | time (int), command (function name), args (list of arguments) | - | Schedules a **single** call to `command` after `time` milliseconds. (To repeatedly call the same command, use `repeat()`) |
| cancel(command) | command (function name) | - | Cancels a scheduled call to `command` |
| destroy() | - | - | Destroys the widget |
| disable() | - | - | Disables all the widgets in the app so that they cannot be interacted with |
| display() | - | - | Displays the app on the screen. You **MUST** call this method at the end of your program to display the app on the screen. |
| enable() | - | - | Enables all the widgets in the app |
| exit_full_screen() | - | - | Exit full screen display |
| focus() | - | - | Gives focus to the widget |
| hide() | - | - | Hides the app window from view. |
| on_close(command) | command (function name) | - | Calls the given function when the user tries to close the window. |
| repeat(time, command, args=None) | time (int), command (function name), args (list of arguments) | - | Repeats `command` every `time` milliseconds. This is useful for scheduling a function to be regularly called, for example updating a value read from a sensor. |
| show() | - | - | Displays the app window if it was previously hidden |
| update() | - | - | Force the application to update itself, useful if changes aren't reflected in the UI. |
| set_full_screen(keybind) | String | - | Set the application to display full screen. Option to specify a key to exit full screen (default is 'Esc'.) |
| _set_title(title)_ | _title (string)_ | - | _Replaced by `title` property_ |
| _bgcolor_ | _bgcolor (string)_ | - | _Replaced by `bg` property_ |

Parameters in _italics_ will still work but are **deprecated** - this means you should stop using them because they may not work in future versions of guizero

Expand Down
Loading

0 comments on commit 4946a28

Please sign in to comment.