On 05/19/2011 02:09 PM, Derrell Lipman wrote: > On Thu, May 19, 2011 at 02:30, Christian Hagendorn > <[email protected] <mailto:[email protected]>> > wrote: > > > > -------- Original-Nachricht -------- > Betreff: Which event we have for open close of any node in > TreeVirtual > Datum: Wed, 18 May 2011 20:29:57 +0200 > Von: [email protected] <mailto:[email protected]> > <[email protected]> <mailto:[email protected]> > An: Christian Hagendorn <[email protected]> > <mailto:[email protected]> > > > > I want to add listener when any node open close in virtual tree. > > You should listen on three events to know about every open and close: > "treeOpenWithContent", "treeOpenWhileEmpty", and "treeClose". The > event data will contain the node object from the data model (of the > node being opened or closed). > > Derrell >
That's TreeVirtual, not VirtualTree. For VirtualTree, I think the way would be to define a configureItem delegate for use with the tree, that will add a listener to every node's changeOpen event. Regards, Marc ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
