To be correct. I'm getting that getItems() will return itself + all children
appended to it.

2008/7/1 petr kobalicek <[EMAIL PROTECTED]>:

> Hi again :-)
>
> Sorry if I'm posting too many posts about qooxdoo, but there is too many
> things I want to know :)
>
> I'm today played with qx.ui.tree.Tree widget and some things are for
> nonunderstandable.
>
> If I create instance of Tree, tree itself is a root node, this is quite
> good and like it, but my question is, how
> different is this:
>
> tree = new qx.ui.tree.Tree();
> if (!tree.getItems().length) {}
>
> and:
>
> tree = new qx.ui.tree.Tree();
> if (!tree.hasContent()) {}
>
> These two snipets will behave differently and it cost some time for me to
> invent this:)
>
> If this was already discussed or this will be different in 0.8, sorry:-)
>
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to