-
Notifications
You must be signed in to change notification settings - Fork 17
Use evas_object_image as mouse event target #329
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
Use evas_object_image as mouse event target #329
Conversation
* Use ecore_evas_window_get instead of ecore_evas_window_get. * Fix flutter-tizen/flutter-tizen/issues/424 Signed-off-by: Boram Bae <boram21.bae@samsung.com>
35b918e to
f2d95b4
Compare
swift-kim
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
JSUYA
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please check UnRegisterEventHandlers method.
Signed-off-by: Boram Bae <boram21.bae@samsung.com>
JSUYA
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
| image_, EVAS_CALLBACK_MOUSE_WHEEL, | ||
| evas_object_callbacks_[EVAS_CALLBACK_MOUSE_WHEEL], this); | ||
|
|
||
| evas_object_callbacks_[EVAS_CALLBACK_KEY_DOWN] = [](void* data, Evas* evas, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only apply to mouse events but not key events?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As far as I know evas_image is not suitable for receiving key events.
I know that the key problem was solved by modifying GetWindowID().
When I tested this PR, the key event did or didn't because of ime...
I don't think this is a problem with event callbacks....
Use ecore_evas_window_get instead of ecore_evas_window_get. Signed-off-by: Boram Bae <boram21.bae@samsung.com>
Signed-off-by: Boram Bae boram21.bae@samsung.com