On Thu, Jun 14, 2012 at 5:42 PM, Christopher Zündorf <
[email protected]> wrote:

> This way also works:
>
> list.addListener("touchstart", function(evt) {
>    console.log("evt:",evt.getCurrentTarget());
>  }, this);
>

Thanks. That would work if I could add a listener on the list. I don't
necessarily know that there's going to be a list, and I therefore can't add
a listener on it. I'm writing a container (which may contain a list), and I
need to catch "touchstart" and "touchmove" events that happen within the
container, regardless of on which widget in the container (possibly deeply)
the event was initiated. The problem is that I *am* receiving the event in
my container's event handler as I should, but I need to figure out in which
of my container's immediate children the event occurred, so I need to walk
up the layout tree until I reach one of those children.

Derrell
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to