Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: looking for scripts that do simple image display
Post: RE: looking for scripts that do simple image displ...

import PySimpleGUI as sg sg.Window('My image window',[[sg.Image(sg.EMOJI_BASE64_HAPPY_JOY)]], auto_close=True, auto_close_duration=3).read()[Image: https://user-images.githubusercontent.co...1f51b7.g...
FullOfHelp GUI 10 4,318 Sep-13-2021, 05:35 PM
    Thread: Pysimplegui - Windows location
Post: RE: Pysimplegui - Windows location

You can also return the position from the function rather than store it. That way the other window will have it and you don't need a global. (sorry... I posted twice and cannot find the delete button...
FullOfHelp GUI 7 8,663 Sep-13-2021, 05:30 PM
    Thread: Pysimplegui - Windows location
Post: RE: Pysimplegui - Windows location

You can also return the position from the function rather than store it. That way the other window will have it and you don't need a global.
FullOfHelp GUI 7 8,663 Sep-13-2021, 05:04 PM
    Thread: Pysimplegui - Windows location
Post: RE: Pysimplegui - Windows location

import PySimpleGUI as sg b = (None, None) def start(): global b layout1 = [[sg.Button("Next")]] window1 = sg.Window("Test", layout1, size=(300, 300), finalize=True) event, values = w...
FullOfHelp GUI 7 8,663 Sep-11-2021, 02:15 PM
    Thread: [PySimpleGUI] error trying to resize Text element
Post: RE: [PySimpleGUI] error trying to resize Text elem...

You can now resize text elements, or any element, by calling the set_size method. To do what you were trying to do, you code would now read: window['-DISPLAY-'].set_size((45,nb_lines))It's a relative...
FullOfHelp GUI 3 8,089 Dec-10-2019, 06:05 PM
    Thread: [PySimpleGUI] How to go to next page
Post: RE: [PySimpleGUI] How to go to next page

This sounds like an interesting project. Have you tried posting an Issue on the PySimpleGUI project's GitHub page?
FullOfHelp GUI 2 3,968 Nov-16-2019, 07:18 PM
    Thread: Extending minimalistic embedded python win distribution
Post: RE: Extending minimalistic embedded python win dis...

There should be instructions included in the PySimpleGUI documentation on how to install tkinter if it's not already installed.
FullOfHelp GUI 1 1,658 Nov-16-2019, 07:17 PM
    Thread: [PySimpleGUI] New input replacing default value in InputText Element
Post: RE: [PySimpleGUI] New input replacing default valu...

You may find support by posing an Issue on the GitHub as suggested by the documentation. The GitHub is located at http://www.PySimpleGUI.com. File an issue rather than becoming frustrated.
FullOfHelp GUI 1 11,473 Nov-16-2019, 06:38 PM
    Thread: [PySimpleGUI] error trying to resize Text element
Post: RE: [PySimpleGUI] error trying to resize Text elem...

The answers you're looking for can be found in the main documentation, in the section that details each of the method calls for each element. The Text Element's info is located here: https://pysimple...
FullOfHelp GUI 3 8,089 Nov-16-2019, 06:32 PM
    Thread: Tkinter or PyQt
Post: RE: Tkinter or PyQt

(Aug-14-2019, 11:51 AM)paul18fr Wrote: I heard about PySimpleGUI; maybe a good starting point to do basic GUI's for the newby I am. PySimpleGUI and the accompanying User Documentation, Cookbook and ...
FullOfHelp GUI 5 4,433 Aug-18-2019, 09:21 PM
    Thread: [PySimpleGui] How to alter mouse click button of a standard submit button?
Post: RE: [PySimpleGui] How to alter mouse click button ...

It's not a feature currently implemented, but there may be a workaround to get there. I suggest logging as an Issue on the project's GtiHub - http://www.PySimpleGUI.com
FullOfHelp GUI 3 5,061 Jul-21-2019, 06:02 PM
    Thread: GUI freezes while executing a callback funtion when a button is pressed
Post: RE: GUI freezes while executing a callback funtion...

(Jul-08-2019, 10:22 PM)abi17124 Wrote: What I would like is to for the GUI to be running while the edit function executes instead of freezing, and also in the future, to pause/continue the editing a...
FullOfHelp GUI 5 7,525 Jul-10-2019, 12:48 AM
    Thread: GUI freezes while executing a callback funtion when a button is pressed
Post: RE: GUI freezes while executing a callback funtion...

Try posting an Issue on the PySimpleGUI project GitHub. It looks like support is good looking at the Issues and how quickly they are responded to.
FullOfHelp GUI 5 7,525 Jul-09-2019, 04:41 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020