Re: canvas, cairo and/or pixbufs? (was Re: Application Approach)
- From: Peter Lund <firefly vax64 dk>
- To: Johan Kohler <johan kohler gmail com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: canvas, cairo and/or pixbufs? (was Re: Application Approach)
- Date: Sun, 05 Nov 2006 18:35:30 +0100
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]