Re: How to trap a widget resize signal?



"ISwear" <zhyforever 163 net> writes:  
> 
> When a widget is resized, I want to change the size of other widgets, but I
> don't know what's the resize signal. Who can tell me?
> 

size_allocate. You can easily get into infinite loops doing this type
of thing though. (You respond to size allocate with something that
causes another allocation.)

The "right way" to do this is usually to write a custom container
widget that sizes things the way you want.

Havoc




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]