You can add event listeners for any event and any event target. The name of
the function to add an event listener is addEventListener. To identify the
event you want to listen to, you pass the event name. Events have names
like
resize, click, beforeclose, blur, etc.
it works.
pyjamas-desktop is the test-case for the glib bindings - but ignore that,
i have a general question for which pyj/d is a specific case:
in javascript, you can set an element's onclick method. how the heck do
i get a callback, into c++, objc or any other binding, from an onclick?
is there a
On Aug 30, 2008, at 5:35 PM, Luke Kenneth Casson Leighton wrote:
in javascript, you can set an element's onclick method. how the
heck do i get a callback, into c++, objc or any other binding, from
an onclick?
is there a mechanism for calling back, from javascript, into the
bindings?
On Aug 30, 2008, at 7:00 PM, Darin Adler wrote:
The clickListener object must be a class that implements the
DOMEventListener protocol.
What I meant to say was:
The clickListener object must be an object of a class that conforms to
the DOMEventListener protocol.
-- Darin
4 matches
Mail list logo