leaningtech-dev team mailing list archive
-
leaningtech-dev team
-
Mailing list archive
-
Message #00202
Re: [Question #254916]: How do I get a event's target element
Question #254916 on Cheerp changed:
https://answers.launchpad.net/cheerp/+question/254916
Status: Open => Answered
Alessandro Pignotti proposed the following answer:
EventTarget is a base class for the Node class which is itself the base
class for Element. You can get the corresponding Element object by
doing:
client::Element* element=(client::Element*)event->get_target();
If you want to see the API documentation of the C++ browser interface
you can a look here
http://leaningtech.com/API/
--
You received this question notification because you are a member of
Leaningtech Team, which is an answer contact for Cheerp.