Hi,

try this:

var listeners =
qx.event.Registration.getManager().getAllListeners()[myWidget.toHashCode()]


Regards,
Daniel

On 08.01.2015 08:14, kirra5 wrote:
> Hi
> 
> Is there a way to get a list of all listeners, that are added to a widget?
> 
> If I use this:
> 
> var eventManager = qx.event.Registration.getManager(myWidget);
> var listeners = eventManager.getListeners(myWidget, "appear");
> 
> then I get only the listeners for a specific event type. But I need all
> listeners of all event types.
> 
> How do I get all event types, that are registered on a widget?
> 
> Thank you very much!
> 
> 
> 
> --
> View this message in context: 
> http://qooxdoo.678.n2.nabble.com/Get-all-listeners-of-a-Widget-tp7586602.html
> Sent from the qooxdoo mailing list archive at Nabble.com.
> 
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming! The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net
> _______________________________________________
> qooxdoo-devel mailing list
> qooxdoo-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 

------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to