Re: GnomeCanvas's item_list
Murray Cumming <[email protected]>
| Newsgroups | gmane.comp.gnome.language-bindings |
|---|---|
| Message-ID | <[email protected]> |
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 [email protected] _______________________________________________ language-bindings mailing list [email protected] http://mail.gnome.org/mailman/listinfo/language-bindings