Python Forum
Thread Rating:
  • 2 Vote(s) - 3.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Button Help
#4
I just found this old thread. I'm the developer of SimpleGUICS2Pygame (that is a reimplementation of specific modules from CodeSkulptor).
If I well understood you wanted remove buttons before add new ones. Unfortunately it is not possible. The API of SimpleGUI (in CodeSkulptor) is not designed for do that.

But it is possible to change text in buttons with the method set_text(). So maybe you can do want you want by change your logic.
Reply


Messages In This Thread
Button Help - by slopz - Apr-29-2017, 03:46 PM
RE: Button Help - by nilamo - Apr-29-2017, 05:04 PM
RE: Button Help - by slopz - Apr-29-2017, 05:42 PM
RE: Button Help - by OPi - Apr-10-2021, 01:55 PM

Forum Jump:

User Panel Messages

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