Questions tagged [pysimplegui]

Question about PySimpleGUI. The python package that supports simplified GUI generation using Tkinter.

Filter by
Sorted by
Tagged with
0votes
1answer
12views

Pysimplegui everything transparent except 1 element

How to make only one Text element not transparent? As transparent app I use sg.Window option alpha_channel=0.1, but one text element I need to make better visible. It is possible with Pysimplegui? ...
user avatar
  • 670
1vote
2answers
15views

Set multiline text from a file online to a text element in pysimplegui

So I have this program that grabs a text file from the internet, reads it and then set the decoded text to an element. import PySimpleGUI as sg import urllib.request data = urllib.request.urlopen(&...
user avatar
0votes
0answers
15views

PySimpleGUI multiple windows with timeout?

I am trying to create an app with multiple windows in PySimpleGUI. However, whenever I pass in a timeout argument into read_all_windows the windows get shut down after the first timeout. For example, ...
user avatar
0votes
1answer
35views

Run code after the window has been initialized

I have a program that has an sg.Output element, and I want a function to run after the window has opened/initialized. This is a sample of my code: import PySimpleGUI as sg import os layout = [[sg....
user avatar
  • 31
0votes
1answer
14views

Display multiple print lines from another function into multiline using PySimpleGui

I am trying to display all the print lines that occur in a function def colorselected(val): if val > 50 : print("This has breached the threshold") print("Red") ...
user avatar
-2votes
0answers
20views

PySimpleGui / Python: How can I keep a window open after clicking a button? [closed]

I would like to keep the app window open after clicking one of the buttons. When I click the window is minimizing
user avatar
0votes
0answers
23views

pysimplegui quits with selenium driver.quit()

I am using pysimpegui to create an interface for a small program that I do in selenium. What happens is that the ui closes when the driver that creates selenium closes. I've noticed that if I comment ...
user avatar
0votes
0answers
8views

Need help In PySimpleGUI Folder File checkbox

In the status column how I need to get a selection box using PySimplGUI for each file and folder? I have code so far here, not able to proceed how to dynamically create check box based on the Tree. ...
user avatar
  • 53
0votes
1answer
49views

Pandas create new column using dictionary

I'm trying to create a new column within one of my dataframes by combining existing columns through finding the values in a dictionary. values["-R1-"] and values["-R2-"] are ...
user avatar
  • 95
0votes
0answers
19views

How to have independent tabs in pysimplegui

I am creating a GUI that can launch executables. The GUI has several tabs, one for each executable. Each tab also has its own OK button. When OK is pressed, I want to launch the exe for that tab. The ...
user avatar
0votes
0answers
19views

How to use PySimpleGUI event callbacks to change the relevant button element's attributes?

I'm trying to use event callbacks to flip the two colors of whichever button is pressed. I would have liked to use something similar to window[elementkey].update(button_color=flipped_colors), but ...
user avatar
0votes
1answer
12views

Open maplotlib window with PySimpleGUI

I am very new to PySimpleGUI and I am getting stuck on a certain part of my code. I have some data of which I want to make a plot using matplotlib and I can get it to be opened in a canvas in the ...
user avatar
0votes
1answer
17views

Need help using PySimpleGUI

I need to organize my window in such a way that the image is placed on the right and does not affect the elements on the left.. I would really appreciate some help. enter image description here
user avatar
  • 9
0votes
1answer
24views

PySimpleGUI changing visibility breaks columns(?)

I have 2 columns and I want to reveal them on a button press by using the visibility parameter. However, it seems that columns that go from invisible to visible stop being next to each other and are ...
user avatar
0votes
0answers
14views

Running multiple scripts simultaneously using PySimpleGui

I built a Gui using Pysimplegui and the gui calls a method from a different script that runs an engine. The engine cycle takes 60 seconds and while it is running the gui freezes. i want to add a ...
user avatar

15 30 50 per page
1
2 3 4 5
47