Re: goocanvasmm: Item::get_items_at API

On Tue, 2008-03-11 at 13:45 -0500, Jonathon Jongsma wrote:
> I don't really understand the need to pass the found_items parameter
> to the child items in the first place.  Why does the child item need
> to know which of its parent items were already found at the given
> coordinate?  In my opinion, it would be better just to leave that
> parameter out, and just return a GList* of items found at your level
> or below, Then the parent would be responsible for combining these all
> together and returning that to its parent.   Or maybe a totally
> different approach would be better...

If that's possible, that would seem simpler. Could you ask on the
goocanvas list?

Murray Cumming
murrayc murrayc com

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