![]() |
Event fired multiple times - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: GUI (https://python-forum.io/forum-10.html) +--- Thread: Event fired multiple times (/thread-10100.html) |
Event fired multiple times - ian - May-12-2018 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') RE: Event fired multiple times - Larz60+ - May-12-2018 Almost impossible to answer without seeing code in context |