On Mon, 25 Jun 2007 15:13:30 -0600 Jim George wrote: >Is there some way I can obtain a GDK_CONFIGURE event from a GtkImage >widget? I tried putting the GtkImage inside a GtkEventBox and >connecting a handler to "configure-event", without success. I also >manually enabled GDK_STRUCTURE_MASK, even though GTK is supposed to do >that by default. I would like to know when the image size has changed, >so that I can assign a new GdkPixbuf to the GtkImage and draw to the >GdkPixbuf.
AFAIR, configure events are only useful for toplevel windows. You'll probably want to look at the size-request and/or size-allocate signals (on GtkWidget). -brian _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list