Re: Detecting a resize
- From: "Hans Oesterholt-Dijkema" <hdnews gawab com>
- To: "Daniel Kasak" <dan entropy homelinux org>, "gtk-list gnome org" <gtk-list gnome org>
- Subject: Re: Detecting a resize
- Date: Fri, 20 Oct 2006 12:05:31 +0000
>Or you could get really tricky and figure out when the user has finished
>resizing the window by using a timeout and some code that sets a flag
>when a size_allocate signal is set ... you'd do your scaling operation
>if your timeout code runs and a *further* size_allocate signal *hasn't*
>been fired.
Thanks for your advice,
That doesn't look tricky at all. I can implement
such handling in half an hour. And I'll just create
a new signal 'resized' that will be fired after the timeout.
I got an advise to use the 'configure event'
from someone else. Would this be a good idea?
--Hans
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]