Python Forum
[PyGUI] Two issues in table created by PySimpleGUI
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[PyGUI] Two issues in table created by PySimpleGUI
#2
This is the problem with the clicked event in the view table.
    while True:
        event1, values1 = window1.read()
        . . .
        elif '+CLICKED+' in event:
            PG.popup("You clicked row:{} Column: {}".format(event[2][0], event[2][1]))
You check if '+CLICKED+' is in event, not event1.

I don't understand Q2. If you click the View button multiple times, shouldn't the view update multiple times?
ranjansanyal2007 likes this post
Reply


Messages In This Thread
RE: Two issues in table created by PySimpleGUI - by deanhystad - Sep-29-2023, 07:53 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  PySimpleGUI Try Except jamesaarr 1 2,048 Nov-18-2021, 02:02 PM
Last Post: jamesaarr

Forum Jump:

User Panel Messages

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