PySimpleGUI Documentation
Initializing search
www.PySimpleGUI.com
Main site, Licensing, FAQ
PySimpleGUI/PySimpleGUI
Home
Call Reference
Cookbook
Demo Screenshots
FAQ
Readme
User Screenshots
Readme Feb 2024
Announcements2018-2024
Tkinter
Qt
Web
Wx
Scroll to active item
PySimpleGUI Documentation
PySimpleGUI/PySimpleGUI
Home
Home
The Project
What is PySimpleGUI?
What is PySimpleGUI?
Who Is PySimpleGUI Designed For?
The Concept
Goal 1 - "You Have Fun"
Goal 2 - "You Are Successful"
What Was Made Simple?
Window Creation
Make the Window Do Something Useful
The PySimpleGUI Architecture - Under The Hood
What Can PySimpleGUI Be Used For?
Getting Started
Getting Started
Quick Start - Basic Install & Introduction to the APIs
Coding Conventions
The 2 Groups of APIs
The Windowing APIs - Popups
popup - Output Popup Functions (Popup Windows 1 of 4)
popup - Input Popup Functions (Popup Windows 2 of 4)
Debug Print (Popup Windows 3 of 4)
One Line Progress Meter (Popup Windows 4 of 4)
The Windowing APIs - Custom Windows
Ecosystem
Ecosystem
The PySimpleGUI Ecosystem
Documentation
PySimpleGUI Demo Programs
Support
Ports
Ports
The PySimpleGUI Ports - tk, Qt, Wx, Remi/Web
PySimpleGUI - The Tkinter Port
PySimpleGUIQt
PySimpleGUIWx
PySimpleGUIWeb
Installing, License Keys, Security
Installing, License Keys, Security
Installation and License Keys
License Keys - New in PySimpleGUI 5
Installing PySimpleGUI
Testing The Installation of PySimpleGUI
Upgrading PySimpleGUI
Security
Writing PySimpleGUI Applications
Writing PySimpleGUI Applications
Writing PySimpleGUI Applications
Editors and IDEs
Distribution
The Window Designer
Error Handling
The Module
The Module
Elements
Elements
The Elements
Button
ButtonMenu
Canvas
Checkbox
Column
Combo
Frame
Graph
Horizontal Separator
Vertical Separator
Image
Input
Listbox
Menu
MenubarCustom
Multiline
OptionMenu
Output
Pane
ProgressBar
Push
Radio
Sizegrip
Sizer
Slider
Spin
StatusBar
Tab
Table
Text
Titlebar
Tree
VPush
Locating & Changing Elements
Common Parameters
Keys
Return Values
Return Values
Return Values
Events
Values Dictionary
Window Object
Reading Windows
Layouts
Dynamic Layouts
Menus
Keyboard & Mouse Capture
Popups
One Line Progress Meter
Debug Print
Images
Cursors
TTK
Themes
SystemTray
Extending PySimpleGUI
Extending PySimpleGUI
Extending
Widget Access
Binding Tkinter "events"
Multi-threading
Global Settings
User Settings API
Exec APIs - Simplified Subprocesses
Timer APIs - Simplified Time-based Events
Clipboard APIs
The Debugger
Utilities
Utilities
The PySimpleGUI Utilities
Built-in Command Line Utilities
psgdemos
psgcompiler
psgshortcut
psgresizer
psgtest
psgfiglet
Versions
Versions
Versions (very early releases)
Release Notes (post-2018)
5.0 Feb-2024
Press kit
About
Call Reference
Call Reference
The PySimpleGUI Call Reference
Qt
Qt
Qt Port Call Reference
Window
Elements
Elements
Button
ButtonMenu
Canvas
Checkbox
Column
Combo
Frame
Graph
HorizontalSeparator
Image
Listbox
Menu
Multiline
Output
Pre-Defined Buttons
ProgressBar
Radio
Slider
Spin
Tab
TabGroup
Table
Text
Tree
TreeData
VerticalSeparator
Popups
Popups
Popups Call Reference
Popup
Popup auto close
Popup cancel
Popup error
Popup get file
Popup get folder
Popup get text
Popup no buttons
Popup no titlebar
Popup non blocking
Popup ok
Popup ok cancel
Popup quick
Popup quick message
Popup scrolled
Popup yes no
Functions
Functions
Application-wide Configuration / Settings
Debug Window Output
The Main PySimpleGUI Program
Display Objects as Strings
Platform Checks
Themes
Timer
User Settings API - Function Interface
Classes
Classes
System tray
User settings
Tkinter
Tkinter
Tkinter Port Call Reference
Window
Elements
Elements
Button
ButtonMenu
Canvas
Checkbox
Column
Combo
Frame
Graph
HorizontalSeparator
Image
Input
Layout Helper Funcs
Listbox
Menu
MenubarCustom
Multiline
OptionMenu
Output
Pane
Pre-Defined Buttons
ProgressBar
Radio
Sizegrip
Slider
Spin
StatusBar
Tab
TabGroup
Table
Text
Custom Titlebar
ToolTip
Tree
TreeData
VerticalSeparator
Popups
Popups
Popups Call Reference
One Line Progress Meter
Popup
Popup animated
Popup annoying
Popup auto close
Popup cancel
Popup error
Popup error with traceback
Popup get date
Popup get file
Popup get folder
Popup get text
Popup menu
Popup no border
Popup no buttons
Popup no frame
Popup no titlebar
Popup no wait
Popup non blocking
Popup notify
Popup ok
Popup ok cancel
Popup quick
Popup quick message
Popup scrolled
Popup timed
Popup yes no
Functions
Functions
Clipboard APIs
Application-wide Configuration / Settings
Debug Window Output
Debugger
Exec APIs - Launching Subprocesses
The Main PySimpleGUI Program
Misc
Network API
Display Objects as Strings
Platform Checks
Themes
Timer
User Settings API - Function Interface
Classes
Classes
System tray
User settings
Web
Web
Web Port Call Reference
Window
Elements
Elements
Button
Checkbox
Column
Combo
Frame
Graph
Image
Listbox
Menu
Multiline
OptionMenu
Output
Pre-Defined Buttons
ProgressBar
Radio
Slider
Spin
Tab
TabGroup
Table
Text
Tree
TreeData
VerticalSeparator
Popups
Popups
Popups Call Reference
One Line Progress Meter
Popup
Popup auto close
Popup cancel
Popup error
Popup error with traceback
Popup get file
Popup get folder
Popup get text
Popup no buttons
Popup no titlebar
Popup non blocking
Popup ok
Popup ok cancel
Popup quick
Popup quick message
Popup scrolled
Popup yes no
Functions
Functions
Application-wide Configuration / Settings
Debug Window Output
The Main PySimpleGUI Program
Display Objects as Strings
Platform Checks
Themes
Timer
User Settings API - Function Interface
Classes
Classes
User settings
Wx
Wx
Wx Port Call Reference
Window
Elements
Elements
Button
Canvas
Checkbox
Column
Combo
Frame
Graph
HorizontalSeparator
Image
Listbox
Menu
Multiline
OptionMenu
Output
Pre-Defined Buttons
ProgressBar
Radio
Slider
Spin
Tab
TabGroup
Table
Text
Tree
TreeData
VerticalSeparator
Popups
Popups
Popups Call Reference
Popup
Popup auto close
Popup cancel
Popup error
Popup get file
Popup get folder
Popup get text
Popup no buttons
Popup no titlebar
Popup non blocking
Popup ok
Popup ok cancel
Popup quick
Popup quick message
Popup scrolled
Popup yes no
Functions
Functions
Application-wide Configuration / Settings
Debug Window Output
The Main PySimpleGUI Program
Display Objects as Strings
Platform Checks
Themes
Timer
User Settings API - Function Interface
Classes
Classes
System tray
User settings
Cookbook
Cookbook
The Cookbook
eCookbook
eCookbook
Welcome to the PySimpleGUI Interactive eCookbook
Getting Started
Getting Started
The basic pysimplegui program
Design pattern 1 the one shot
Design pattern 2 persistent window with updates
All Elements
Demo Programs
Elements
Elements
Base64 button graphics
Custom Checkboxes
Custom buttons with mouseover highlighting
MenubarCustom
Custom Radio Buttons
Custom Titlebars & Custom Menubars
Graph
Graph
Bar Charts
Labelled Line Graph
Sine Wave
Animated line graph
Fourier animated graph
Interactive Square
Drawing and Dragging
Utah Teapot
Dashboard mockup
Visualizing sorts
Menus
Menu bar
Coloured Multiline
Tables
Tables
The table element
Table Click Events
Mini-Excel
Mono-Spaced Fonts
Simulated tables
Toggle Button
Toggle Buttons with Disable
Examples
Examples
Simple Login
Password entry
Animated gifs
2 file inputs
Change slider based on input
Chat instant message front end
Choose file from a list
Control panel
Fading Window
Input 2 fields
Input validation
Keyboard num counter
Language Selection
Listbox input with progressbar
Machinerys handbook
Multiple entry in same window
Navigating Focus Using Arrow Keys
Periodical updates
Printing to a gui window
Simple form
Ticket reservation
Layouts
Layouts
Simple Window with Elements Centered
Collapsible Sections
Fixed Size Columns
`Push` and `VPush` Elements For Justification
Row list comprehension
Swapping window layouts
To do list using generated layout
Add and delete rows
Advanced
Advanced
Binding Tkinter Events
Use the "Net APIs" to Download & Display An Image
Multi-Threaded
Multi-Threaded
Performing Long Operations
Simple Multithreading
Launcher Bar
Multithreading and Queues
Multiple Background Threads
Window.write_event_value
Multiple-Windows
Multiple-Windows
Read All Windows
Two windows with re open
Running Multiple Windows By Polling
User-Settings
User-Settings
UserSettings as a Simple Database
Settings File
INI Files
Design Replication
Design Replication
Dashboard mockup for a car
Ipynb to py converter
Shopify reddit mockup
Spectrophotometry
Vbasic csv uploader
Vbasic spectrum calculation
Games
Games
1 4 24 dice game
Adventure game popup windows with delayed text
Battleship
Conways game of life
Dice Roller
Geekforgeeks quiz
Maze solution finder
Minesweeper
Sudoku
Text adventure
Tic Tac Toe
Uno card game
Wordle
Matplotlib
Matplotlib
Single Matplotlib Plot
Animated matplotlib line graph
Matplotlib plot browser
Matplotlib simple plot
Tools Utilities
Tools Utilities
Calculators
Calculators
Calculator
Coin calculator
Distance calculator
Kilometer to mile converter for reddit
Sales commission calculator
Ti datamath ii calculator
Color chooser window
Countdown timer
Desktop timer widget
Pi temperature control
PNG Image Viewer
Udemy Course - "The Official PySimpleGUI Course"
Original
Original
The Original PySimpleGUI Cookbook
Getting Started
Basic Programs
Basic Programs
1 Shot Window - Simple Data Entry - Return Values - Auto Numbered
Persistent Window With Text Element Updates
The Demo Browser
No Console Launching
Post your screen-shots (PLEASE!)
Element Recipes
Element Recipes
Graphical Buttons
Graphical Buttons
Replacing a Button with a Graphic
Button Graphics (Media Player)
All Elements (The Everything Bagel... 2022-Style)
Custom Progress Meter / Progress Bar
One Element Updating Another - Compound Elements
tkinter Canvas Widget
Graph Element - drawing circle, rectangle, etc, objects
Graphing with Graph Element
Menus
Tabs
Justification & Alignment
Justification & Alignment
Element Justification and Alignment
Clean Simple Inputs
Multiple Windows
Multiple Windows
Recipe Multiple Windows - `read_all_windows`
Multiple Windows
Themes
Themes
Built-in Theme Viewer
Theme Browser
Modifying an existing Theme
Adding Your Own Color Theme
Utility Recipes
Utility Recipes
Desktop Floating Toolbar
Desktop Floating Widget - Timer
Desktop Floating Widget - CPU Utilization
Script Launcher - Exec APIs
Recipe- Launch a Program With a Button
Integrations
Integrations
convert_to_bytes Function + PIL Image Viewer
Machine Learning GUI
Matplotlib Window With GUI Window
Animated Matplotlib Graph
File Browsing
File Browsing
Get 2 Files By Browsing
Get Filename With No Input Display. Returns when file selected
Layout Composition
Layout Composition
Collapsible Sections (Visible / Invisible Elements)
Minesweeper-style Grid of Buttons
Multiple Columns
Keypad Touchscreen Entry - Input Element Update
Tight Layout with Button States
CLI Implementation
CLI Implementation
Add GUI to Front-End of Script
The `popup_get_file` Version of Add GUI to Front-End of Script
A Simple & Standard Right Click Menu
Removing Titlebar & Window Transparency
Function and Aliases
Highly Responsive Inputs
Input Validation
Positioning Windows on a Multi-Monitor Setup
Printing
Save and Load Program Settings
Multithreading
Exception Handling
Callback Function Simulation
Built-in Progress Meter
Password Protection For Scripts
Demo Screenshots
FAQ
Readme
Readme
Index
User Screenshots
User Screenshots
User Screenshots
User screenshots plain
User screenshots captioned
Readme Feb 2024
Readme Feb 2024
Index
Announcements2018-2024
Announcements2018-2024
Index
Page Not Found
Back to top