On 04/17/12 06:49, Fabien Costantini wrote:
> That said, flu combo tree rely on the full tree which permits path
> navigations, not sure the Fl_Tree permits that ?
> (i.e. /foo/bar would reference a root foo with a child bar)
Yes -- Fl_Tree supports paths (see examples which all use them):
add(path) lets you add items with pathnames, auto-creating any
parents
in the path that don't exist (similar to 'mkdir -p')
find_item(path) returns the item* for given path
item_pathname(item) returns the path for the given item
..and many other Fl_Tree methods support paths as well, offering
both item and paths as arguments (eg. is_selected(), is_open(), etc)
_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs