-
Notifications
You must be signed in to change notification settings - Fork 131
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
Question: bind/unbind signal or event observer #12
Comments
Regarding question 2 Event queue is not cleared, because it is not like One notable exception is However both click is easily implemented:
Here is an example of implementation: |
Double click can be implemented like this:
Anyway, I'd like to hear @schlangster comments on my posts. |
It is not clear to me, how one can bind/unbind signal or event observer.
For example. I need to load a page. Page load took time.
When I start loading, I bind observer to work finish event/signal. Then, when work is done - I want to unbind observer. Then, I might need to load page again.
The nearest I found in the doc - is
Observer.Detach()
. But how to bind it again, is not clear to me.And the second question - when the event queue clears?
How, for example, I can implement observer to left AND right mouse click (or double click)?
There will be definitely some delay between left and right
MOUSE_DOWN
eventThe text was updated successfully, but these errors were encountered: