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

2006-11-05 Thread Johan Kohler
I've been learning to use Gnome::Canvas for some time now The gnome canvas demo app is very useful, but documentation or tutorials are scarce. There are some things that puzzle me though, and I apologise for hi-jacking your thread :-) Does anyone have any idea how to: 1. Access the items on a ca

cycling through items on a canvas?

2006-11-02 Thread Johan Kohler
Hi, I add items to the root group of a canvas using repeated calls like: polygon_ = manage(new CRenderPolygon(*root(), points_)); where CRenderPolygon is derived from Canvas::Polygon. I always reuse the same pointer polygon_. Now I want to test whether a point is in any of the polygons. How can

Re: Glade GUI: changing mechanism

2006-10-31 Thread Johan Kohler
Isn't it possible to "inline" the .glade file in the compiled code? Ie. Instead of reading from a text file, it reads from a declared constant. I think that one can inline pixmaps in this way using GTK. On 31/10/06, Daniel Haude <[EMAIL PROTECTED]> wrote: > On Tue, 24 Oct 2006 14:39:32 +0200, Ph