You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
defunregisterEvent(self, func):
""" Remove the specified function from the event list """try:
self.events.remove(func)
exceptValueError:
gui.error("Unable to unregister event - not registered.")
Which looks pretty much the same as yours, just you've given yours a more sensible name!
I'll add an overload to the existing method to match the name you gave yours, as that makes more sense.
I'll also look at the docs, to try to make the more clear.
Is it possible to deregister event? If so how?
The text was updated successfully, but these errors were encountered: