Fwd: Re: gtk_container_real_check_resize
- From: "ANDREW PAPROCKI, BLOOMBERG/ 731 LEXIN" <apaprocki bloomberg net>
- To: GTK-DEVEL-LIST GNOME ORG
- Subject: Fwd: Re: gtk_container_real_check_resize
- Date: Sun, 20 Nov 2005 14:50:46 -0500
Nikolay, I can see how the container would want to queue a resize if it is not a
resize container, but I'm not sure why anything else is necessary if it is one.
I was under the impression that allocating less space than what was
requisitioned was not good behavior. Maybe Tim can think back to 1998 to clear
this up.. :)
----- Original Message -----
From: Nickolay V. Shmyrev <nshmyrev yandex ru>
At: 11/20 8:26
Since this code is badly documented, you might want to look at annotated
CVS history on cvs.gnome.org
Here is the change you are interested in:
And comment to it:
> * gtk/gtkcontainer.c:
> (gtk_container_real_check_resize): only requeue ourselves if we are
> a resize container.
> (gtk_container_clear_resize_widgets): care for automatic deletion of
> resize_widgets list on size_allocate through a handler connection.
So it's an optimization. Not sure if it have sense still, it look _very_
old. But I suspect at least check_resize signal should be documented.
] [Thread Prev