PySimpleGUI
Posts: 18
Joined: Sat Jul 28, 2018 12:05 am

Re: PySimpleGUI - New package for building custom GUIs in a few lines of code

Fri Aug 31, 2018 2:21 pm

New demo program that again may be of interest to Pi users.

Demo_Matplotlib_Ping_Graph.py

This program plots the time it takes to ping google.com. As the filename suggests, it uses Matplotlib.

There are no package installs needed to run this demo assuming tkinter and matplotlib are already part of your distribution. The code to ping google is contained within the demo file. It's a pure python implementation.

The Windows version looks better than the Pi version because I haven't yet figured out how to set the axis background colors. If you're Pi is sitting idle, this will put something that changes on your screen. It's reasonably efficient with my CPU utilization being between 1 and 15%.

Windows
Image

Raspberry Pi
Image

PySimpleGUI
Posts: 18
Joined: Sat Jul 28, 2018 12:05 am

Re: PySimpleGUI - New package for building custom GUIs in a few lines of code

Thu Sep 27, 2018 5:54 pm

Lots of PySimpleGUI changes since the last update here on Aug 31.

A few of the notable ones include:

A Python 2.7 version was released named PySimpleGUI27.
New Elements (widgets)
Graph - a canvas you can draw / graph on using your coordinate system instead of tkinter's
Tabs
Scrollable columns
Tables
Menus
Labelled frames
Bulk filling
Calendar chooser
Color chooser
Window options - borderless / no titlebar, grab anywhere to move, stay on top
Ability to easily "update" an element based on a key
Clickable text

The number of demo programs is up to 70 now and lots of new Recipes added to the Cookbook.

Return to “Graphics programming”