[SOLVED] Re: C/GTK - Packing GtkImage inside GtkEventBox loses reference

2005-11-19 Thread Marcus Reis
static void movimento_do_jogador(GtkWidget *widget, GtkWidget *image) This is a wrong prototype for a button-press-event callback, see http://developer.gnome.org/doc/API/2.0/gtk/GtkWidget.html#GtkWidget-button-press-event The callback gets the event as its second argument (which

Pango-1.11.0 released [unstable]

2005-11-19 Thread Behdad Esfahbod
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pango-1.11.0 is now available for download at: ftp://ftp.gtk.org/pub/gtk/v2.9/ pango-1.11.0.tar.bz2md5sum: 76f62087da5061f9584ac65eb46e18e8 pango-1.11.0.tar.gz md5sum: dd4db62ee403cd66fed95757ee2c5e17 This is a development release leading

C/GTK+ Is it possible? access child widgets having only the its container?

2005-11-19 Thread Marcus Reis
Hello, suppose the scenario that we have a GtkTable declared as global variable. Inside that table we have 9 event boxes with 1 GtkImage packed in each one. Now we have a function that must change properties from some images that are inside event boxes or even destroy the boxes. I have tried to

Re: C/GTK+ Is it possible? access child widgets having only the its container?

2005-11-19 Thread Luca Cavalli
On Sat, 2005-11-19 at 21:03 -0200, Marcus Reis wrote: Hello, suppose the scenario that we have a GtkTable declared as global variable. Inside that table we have 9 event boxes with 1 GtkImage packed in each one. Now we have a function that must change properties from some images that are inside

[SOLVED] Re: C/GTK+ Is it possible? access child widgets having only the its container?

2005-11-19 Thread Marcus Reis
Em Dom, 2005-11-20 às 00:13 +0100, Luca Cavalli escreveu: On Sat, 2005-11-19 at 21:03 -0200, Marcus Reis wrote: Hello, suppose the scenario that we have a GtkTable declared as global variable. Inside that table we have 9 event boxes with 1 GtkImage packed in each one. Now we have a function

Re: The state of the canvas

2005-11-19 Thread Damon Chaplin
On Fri, 2005-11-18 at 14:28 +0100, Alexander Larsson wrote: Why don't you split the group only methods from GooCanvasItemIface into, say GooCavnasCompositeItemIface. Right now you can call goo_canvas_item_add_child() on any item, but it will crash since iface-add_child is NULL. I could split