Python Forum
Event fired multiple times
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Event fired multiple times
#1
Setting up below is to get the event fired when a webpage loaded. I am wondering why self.On_Web_View_Loaded() will be called many times when a webpage loaded. Is there a way to just fire once for each loading? Thanks.
self.Bind(wx.html2.EVT_WEBVIEW_LOADED, self.On_Web_View_Loaded, self.wv)
self.wv.LoadURL('http://webpage.htm')
Reply
#2
Almost impossible to answer without seeing code in context
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [Tkinter] Mouse click event not working on multiple tkinter window evrydaywannabe 2 3,759 Dec-16-2019, 04:47 AM
Last Post: woooee
  [Tkinter] command button automaticaly fired kferhat 2 2,516 Jun-16-2019, 08:21 PM
Last Post: kferhat
  SetValue to get event fired ian 1 2,464 May-25-2018, 06:07 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