-
Notifications
You must be signed in to change notification settings - Fork 195
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to unbind an event? #360
Comments
You cant unbind it, but you can "ignore" events for specific IDs in your app |
The
Many wrappers has an internal table to map events with back-end functions, like Python wrapper, those wrappers use those IDs to identify the back-end function. So, you can save the IDs if you want and ignore their events later when you need, or use |
Yes, as you mention @xland, the call to Maybe you can share an example use-case for unbinding, then things can be further concertized. |
Regarding providing an example. An API for unbinding could be provided theoretically. So if there is a good use-case maybe its gonna be added. |
I didn't delve into the Let's say I'm going to keep creating btn in HTML :
Does this cause OOM exception? |
A propre unbind will be removing the ID from the core's table, and from Thank you @xland for the suggestion. |
When I bind a callback method using
webui_bind
,How do I unbind it?
I know that
webui_bind
returns a unique bind ID.But what is the use of this ID?
Isn't it used to unbind?
The text was updated successfully, but these errors were encountered: