Re: [gtk-list] Re: resize events for drawing area ???
- From: Havoc Pennington <rhpennin midway uchicago edu>
- To: gtk-list redhat com
- cc: serge physics unc edu
- Subject: Re: [gtk-list] Re: resize events for drawing area ???
- Date: Wed, 2 Dec 1998 18:31:43 -0600 (CST)
On Wed, 2 Dec 1998, Tom Bech wrote:
>
> try "size_allocate"
>
When doing this, always check that the new size is actually different from
the old size, because you'll get some events when the size didn't really
change, or only the position changed (Just a tip I've learned from doing
the same thing.)
Also, for drawing area you can use configure_event instead - this is only
sent when/after the widget is realized, unlike size_allocate.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]