Hello,
I've noticed the widget developed on "Writing a Widget Using Cairo and 
GTK+2.8"[1] behaves strange so I isolated the case by modifying it's main.c 
to create a table and show 4 clocks. As we can see[3] a clock is only show on 
the first cell (the others are not being drawn or they are being drawn over 
the first one).
I printed the coordinates and sizes returned by clock->allocation on the 
draw() function and they seem to match the four cells. I tried several 
different things without any luck. If you have any idea of what might be 
wrong, please, tell me!
Thank you.
-- 
Pupeno <[EMAIL PROTECTED]> (http://pupeno.com)
Vendemos: Conocer y collecionar Monedas y Billetes de Todo el Mundo: 
http://pupeno.com/vendo/#monedas

[1] http://gnomejournal.org/article/34/writing-a-widget-using-cairo-and-gtk28
[2] Original version: 
http://www.gnome.org/~davyd/gnome-journal-cairo-article/main.c, my version: 
http://pupeno.com/miscellaneous/temporary/main.c/view
[3] Screenshot: http://pupeno.com/miscellaneous/temporary/clock.png/view

Attachment: pgp6G9k7fnCrj.pgp
Description: PGP signature

_______________________________________________
gtk-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to