sly icon indicating copy to clipboard operation
sly copied to clipboard

Separate 'activate' event from real UI mouse click and activate() method

Open gavrya opened this issue 8 years ago • 0 comments

Hi, SLY library is really great, thanks for it.

I need to avoid triggering 'active' event when i using activate() method or to have ability to determine the source of the event: it comes from UI or after activate() method.

Right now when i calling activate() method i receive 'activate' event witch is the same as from real UI mouse click event.

Please help me how i can separate 'activate' event that comes from UI click and from invoking activate() method?

gavrya avatar Feb 05 '17 21:02 gavrya