Re: [gtk-list] Re: resize events for drawing area ???




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]