Hi Steve,
On Friday March 26 2010 14:08:43 Steve Jobs wrote:
> Hi Guys:
>
> Is there any way to get listener function of a specific object event?
No, not with public API methods.
> e.g.,
>
> var myObj = new qx.ui.form.TextField();
> myObj.addListener("focus" function() {
> alert("I am here");
> });
> this.getRoot().add(myObj, {top:30, left:30});
>
> Can I get the function associated with focus event of myObj?
You can use an own function to work around this issue.
--snip--
var myObj = new qx.ui.form.TextField();
myObj.addListener("focus" focusTextField);
// ...
focusTextField : function() {
alert("I am here");
});
--snip--
cheers,
Alex
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel