Guilherme Aiolfi schrieb:
> wait, i've found another example now :$
>
> next question then: those checkbox that I've added with addWidget(),
> do I need to store them somehow? I couldn't find a method to get this
> widget back.
>
The widget is kept internally. You could do two things:
1. store the ckeckbox in a user data field of the tree item
var item = new qx.ui.tree.TreeFolder();
var ckeckbox = new qx.ui.form.CheckBox();
item.addWidget(checkbox);
item.setUserData("checkbox", checkbox);
2. create a sub class of AbstractTree item, which has exactly the
interface you want. I think this may be the cleaner solution. You can
take a look at the TreeFile and TreeFolder classes of how to do it.
Best Fabian
--
Fabian Jakobs
JavaScript Framework Developer
1&1 Internet AG
Brauerstraße 48
76135 Karlsruhe
Amtsgericht Montabaur HRB 6484
Vorstand: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas
Gottschlich, Matthias Greve, Robert Hoffmann, Markus Huhn, Oliver Mauss, Achim
Weiss
Aufsichtsratsvorsitzender: Michael Scheeren
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel