[webkit-help] Webkit Eventing

Benjamin Poulain benjamin at webkit.org
Tue Apr 9 13:04:01 PDT 2013


Hi,


On Tue, Apr 9, 2013 at 2:36 AM, 85.mukesh <85.mukesh at gmail.com> wrote:

> class EventListener : public RefCounted<EventListener> {
> public:
> enum Type {
> JSEventListenerType,
> ImageEventListenerType,
> ObjCEventListenerType,
> CPPEventListenerType,
> ConditionEventListenerType,
> GObjectEventListenerType,
> NativeEventListenerType,
> SVGTRefTargetEventListenerType
> };
>
> under which conditions the following are invoked:
>
> ImageEventListenerType
>
 You can ignore this. This is completely internal to the way WebKit handle
images.

> ConditionEventListenerType &
>
Same, this is internal stuff for SVG.

> GObjectEventListenerType
>
> really confused about GObjectEventListenerType ??
>
This is for the GTK GObject bridge.
I am not familiar with this bridge, but you should be able to get some help
on webkit-gtk.

> Moreover is it all possible to do eventing on html elements without using
> javascript ????
> use case: i want to move html tag using box2d physics library (Native
> code) using eventing mechanism.
>

I don't understand this question.

Do you want to get DOM events from C++ code? Which port of WebKit do you
use?

Benjamin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-help/attachments/20130409/298de78c/attachment.html>


More information about the webkit-help mailing list