pypi PySimpleGUI 6.2

6 hours ago

14-Jun-2026 OK, so I'm still rusty at making releases. image I'm probably writing crappy code right now too, but that's nothing new. We're just going to have to live with the faults. I forgot to bump the code to version 6.2 before I labeled the release in the repo. So, I deleted 6.2, checked in the change, and am recreating it. Not very clean, but not the end of the world either since the actual harm is low.


This release has some nice fixes and new features. I'm really wanting to get this up on PyPI soon, especially since I'm releasing Demo Programs that rely on some of these features.

Seeing how I only wrote and checked in some of these features today, I'm going to be delaying a little longer before pushing up to PyPI. The documentation's call reference still needs updating, especially for this release as there were numerous new parameters added to several elements that need to be properly documented.

New features

  • Can set time in Window.start_time using "h:m:s" string
  • Support for horizontal scroll only for scrollable Column Element
  • Ability to set a Frame element's border color to any color. Defaults to text element color

Here are a couple of "mini windows" that were created by the Demo_Drag_and_Drop_Onto_Icon.pyw Demo Program for the psgdnd module. It uses the Frame element's new "choose any border color" feature.

image image

Bug fixes

  • echo_stdout_stderr parameter wasn't working for Multiline and Output elements
  • #6686

Detailed changelog

6.1.1 31-May-2026 Fix in upgrade using pip code. Was not displaying the correct version number for currently running PSG
Fixed Multiline echo_stdout_stderr feature/parameter. Was not correctly echoing out to sys.stdout, stderr.
Edited docstring to document the correct behavior. It will only echo if you've rerouted stdout or stderr to the element.
It will not do the reroute for you.
6.1.2 1-Jun-2026 Fix for Issue #6686 - Calendar chooser button clearing fields that should only be cleared when window.read returns.
Used the newly added element_that_generated_event variable from the Graph element fix above (already came in handy).
6.1.3 1-Jun-2026 Another try at fixing the upgrade from github bug that shows wrong installed version number. This time for sure....
6.1.4 2-Jun-2026 Display the Maint Release version number in the Home Window. Moved the install button
6.1.5 2-Jun-2026 Added ability to specify timers using string "H:M:S" when calling Window.start_timer.
6.1.6 3-Jun-2026 Enhancement - support for horizontal scroll only for scrollable column element
6.1.7 12-Jun-2026 Added typing ElementType for better type support when looking up elements using window[key]
6.1.8 13-Jun-2026 Removed the ElementType changes. Code completion breaks when used with key lookups
6.1.9 14-Jun-2026 Enhancement - ability to set the Frame border color. Added border_color and border_width_no_relief parms to the Frame element
6.1.10 14-Jun-2026 Set Frame border color to default to the text element color if no color is set

Don't miss a new PySimpleGUI release

NewReleases is sending notifications on new releases.