Re: canvas, cairo and/or pixbufs? (was Re: Application Approach)



On Sun, 2006-11-05 at 18:36 +0200, Johan Kohler wrote:

1. Access the items on a canvas after they've been created?
2. Delete items on a canvas after they've been created?

option 1: keep track of them yourself.
option 2: exploit that GnomeCanvas is (indirectly) derived from
GtkContainer, which has the methods foreach() and get_children().

I think option 1 is the better one -- you need a high-level data
structure anyway, right?

-Peter




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