Re: GnomeCanvas's item_list



On Fri, 2004-03-26 at 23:45, muppet wrote:
> At the vey last minute, i've noticed that there is no way to get the list of
> GnomeCanvasItems from a GnomeCanvasGroup in the Gnome2::Canvas Perl bindings.
> 
> The GnomeCanvas has a member variable, item_list, which contains the actual
> list of canvas items.  However, this smells like an internal data structure,
> and the API reference says basically "hands off".
> 
> There is no foreach() function, and no other way to iterate over the children
> of a GnomeCanvasGroup.
> 
> So, short of binding this member, what can i do?

If it isn't in the C API then there's nothing for you to wrap in perl. I
don't think we have any way to do this in C++ either. Have you seen this
done somehow in any application?

Hopefully it's enough to know what you put into the group.

-- 
Murray Cumming
www.murrayc.com
murrayc murrayc com




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]