Hi Edu, add a listener to the image, but ensure that you do not set the anonymous[1] property, otherwise the image doen't get the event.
Cheers, Chris [1] http://demo.qooxdoo.org/current/apiviewer/#qx.ui.core.Widget~anonymous <http://demo.qooxdoo.org/current/apiviewer/#qx.ui.core.Widget%7Eanonymous> Am 13.05.2011 12:41, schrieb Eduard Gamonal: > Hi, > I created a custom widget to be used in a qx.ui.form.List instead of ListItem. > The goal is to have a list with names and a plus image, so when the > user clicks on the image some logic is performed, but nothing happens > if the user clicks on the name or anywhere else. > > It has a label and an image so far. I don't know how to detect that > the image was clicked. where should I add the listener? > > custom widget code http://pastebin.com/sgtEDxiB > > thanks > > Edu > > ------------------------------------------------------------------------------ > Achieve unprecedented app performance and reliability > What every C/C++ and Fortran developer should know. > Learn how Intel has extended the reach of its next-generation tools > to help boost performance applications - inlcuding clusters. > http://p.sf.net/sfu/intel-dev2devmay > _______________________________________________ > qooxdoo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
