Hi all,
is there an easy and failsafe way to access a widget from an anchor tag?
I have added a link to the legend of a groupbox, where I want the link to
call a function on another widget.
I have currently achieved this in the following way:
var gb = new qx.ui.groupbox.GroupBox();
var legend = gb.getChildControl("legend");
var widget = ... // the widget with a function widget.my_function() which I
want to call.
legend.widget = widget;
var legend_text = " # blah ";
legend.setLegend(legend);
legend.setRich(true);
but I can't shake the feeling that there should be some easier way, i.e. a
way to directly find widget.
Thanks,
Omri
--
View this message in context:
http://qooxdoo.678.n2.nabble.com/Accessing-widgets-from-a-links-in-a-rich-label-tp7405882p7405882.html
Sent from the qooxdoo mailing list archive at Nabble.com.
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel