On 06/29/12 19:33, Jeff Ellis wrote: >> On 06/29/12 17:51, Jeff Ellis wrote: >> children() is public.. > > Yes, just realized that a few minutes ago -- thanks, though -- that does help.
I could try to make a copy ctor for Fl_Tree_Item, but there'd have to be a lot of caveats, esp. about when widget()s are assigned to the items being copied. AFAIK FLTK widgets don't support copy ctors, so it becomes hard if not impossible to do a 'deep copy'. (I think FLTK widget's copy ctors are purposefully private to prevent copying) I could just copy widget() pointers, but then pointer ownership becomes blurred, though perhaps that's OK. You might not be using widget() to assign FLTK widgets to items, and in that special case a copy ctor could be implemented without issue.. but it's not clear to me what the behavior should be for the general case. Open to input, though. _______________________________________________ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk