Re: Getting a GDK_CONFIGURE event from a GtkImage
- From: David Nečas (Yeti) <yeti physics muni cz>
- To: gtk-app-devel-list gnome org
- Subject: Re: Getting a GDK_CONFIGURE event from a GtkImage
- Date: Tue, 26 Jun 2007 21:22:12 +0200
On Tue, Jun 26, 2007 at 11:28:48AM -0600, Jim George wrote:
I'll take that back, the handler keeps getting called even if I block
it before calling gtk_image_set_from_pixbuf. If I disconnect it, it
doesn't get called again. Seems like the allocate-event occurs with
some delay after gtk_image_set_from_pixbuf is called.
It does a round-trip through the X server, so the allocation
is performed after you return from the signal handler.
I do not follow this thread, but can't you just compare the
new allocation to the current one and do nothing when they
are equal?
Yeti
--
http://gwyddion.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]