1,253 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
1
answer
48
views
How can I access FreeSimpleGUI's underlying TKinter objects?
I'm using FreeSimpleGUI v5.2.0.post1 in the default TKinter mode. I'd like to override something in the TKinter Listbox object, but I can't figure out how to access it.
The FreeSimpleGui source code ...
0
votes
0
answers
43
views
pysimplegui window size changes in spyder vs in terminal
I suspect this is a poorly posed question but I don't know how to do better. I frequently use pysimplegui and often use spyder for development. There is an unfortunate problem in that within spyder my ...
0
votes
0
answers
20
views
PySimpleGUI - working of two windows at the same time [duplicate]
I have a project using the PySimpleGUI library. The application has many windows. The project is built as follows:
def window_nr_2():
layout2 = [[sg.Button ('But A'), sg.Button ('But B')]]
...
0
votes
1
answer
105
views
PysimpleGUI handling pictures with text in frames
I have used tkinter to organize pictures with text inside various frames on a canvas with a scrollbar. (as can be seen in the picture). I'm really struggling to achieve same functionalities with ...
0
votes
1
answer
130
views
How can I use jetbrains gateway to develop python GUI on remote server?
here is my code, i'm using PiSimpleGUI, which uses tkinter to create a simple GUI,
import PySimpleGUI as sg
# 创建一个简单的窗口
layout = [
[sg.Text('Hello, PySimpleGUI!')],
[sg.Button('Click Me')]
]
...
0
votes
1
answer
67
views
Is it possible to insert a checkbox in PysimpleGui table headings?
I have a PySimpleGui table and I want to select two columns to quickly generate a graph, Is it possible to insert a checkbox in PysimpleGui table headings? Or Is there any other way I can Select both ...
-2
votes
1
answer
83
views
How to change the button colors onclick event?
On a ms-window app., I wish to update the button style "on-click" event, and keep it back to its original style "on-release". I tested at least these 2 ways, both driving to no ...
0
votes
2
answers
56
views
How to reroute stdout and stderr to a Frame element (i.e. not to a Multiline element)
This Multiline rerouting below works, but this is not matching what I exactly want:
output_layout = [
[sg.Text("OUTPUT")],
[sg.Multiline(size=(0,5), font='Courier 8', ...
0
votes
1
answer
80
views
How to modify code for GUI-based realtime plotting using matplotlib?
I have a GUI using PySimpleGUI with multiple plots which receives data from a bluetooth device. I'd like to plot the received data in real-time ideally as fast as the points are received. Right now ...
0
votes
1
answer
124
views
PYSimpleGUI License window does not open in Ubuntu
When using the sample code on the terminal with 'python PYGtest.py':
import PySimpleGUI as sg
layout = [ [sg.Text('Hello, world!')] ]
window = sg.Window('Hello Example', layout)
while True:
event, ...
1
vote
1
answer
57
views
Not giving a total
So, I'm working on a GUI using pysimplegui the project is a compound interest calculator. So, when I hit the complete button, it should give me a total after so many years, but I just get 0.00.
# make ...
1
vote
1
answer
68
views
Is there a way to have the window automatically resize once an element is hidden in the layout?
I have two radio buttons. When the .csv button is selected, I want there to only be one input box. when .rsp is selected, I have a new input box appear. It creates space to fit between the radio ...
0
votes
2
answers
143
views
Why does python code only work sometimes?
I'm trying to open a tkinter window using PySimpleGUI towards the end of a lengthy program.
def raise_above_all(window):
window.attributes('-topmost', 1)
window.attributes('-topmost', 0)
...
0
votes
1
answer
68
views
Error handling and threading.Thread() issues
I am newer to Python, and I originally had error handling working as I liked. I wanted to add a progress bar using PySimpleGUI and after some research discovered that I needed to use threading. Once I ...
0
votes
1
answer
37
views
PySimpleGUI FolderBrowse and searching for file type
The program is intended to use PySimpleGUI to open a folder, and then I have a function to search through the folder and store all the variants of step files within that folder and return a list of ...