Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: [PySimpleGUI] update listbox not working
Post: RE: [PySimpleGUI] update listbox not working

Apparently I had to use Finalize() on the layout line, like this: window = sg.Window('ToDo').Layout(layout).Finalize() Since the window is not fully formed until then...
zappfinger GUI 2 12,136 Nov-12-2018, 08:33 PM
    Thread: [PySimpleGUI] update listbox not working
Post: RE: [PySimpleGUI] update listbox not working

Here is the full code: import PySimpleGUI as sg from SQLiteClient import * ########################## name = 'Pi3B+' ########################## conf = db() otherIP = conf.select('select IP from nodes...
zappfinger GUI 2 12,136 Nov-12-2018, 06:18 PM
    Thread: [PySimpleGUI] update listbox not working
Post: [PySimpleGUI] update listbox not working

I am trying to update a listbox in PySimpleGUI.I have a listbox with a key, so I use this code: test=['aaaa','bbbb','cccc'] window.FindElement('_OUTPUT_').Update(values=test)I get this error: window.F...
zappfinger GUI 2 12,136 Nov-11-2018, 07:51 PM

User Panel Messages

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