Python Forum
SetValue to get event fired
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SetValue to get event fired
#1
self.myRadioButton has an event function setup: On_Click_myRadioButton(self, event).
When click on it, the function is run. Is it possible to get the event function run when using self.myRadioButton.SetValue(True) ? Thanks.
Reply
#2
What GUI package?
If tkinter: you can get the event that triggered with event.widget in event handler method
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [Tkinter] command button automaticaly fired kferhat 2 2,516 Jun-16-2019, 08:21 PM
Last Post: kferhat
  Event fired multiple times ian 1 2,209 May-12-2018, 06:09 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

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