8000 Question: bind/unbind signal or event observer · Issue #12 · snakster/cpp.react · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Question: bind/unbind signal or event observer #12
Open
@tower120

Description

@tower120

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 event

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0