Re: [gtk-list] Post-Resize Callbacks?



Hi Kyle,

//I have a widget that needs to know whenever it has been resized, so that
//it can decide how much and/or what kind of info to display, based on the
//new geometry, and then queue a redraw request.  What's the best way to
//catch a resize _after_ it happens?  I'm just learning GTK+, so this might
//be obvious. 

Connect to the "size_allocate" signal.

//Thanks,
//Kyle

Good luck,

Johannes.
--
"Microsoft should switch to the vacuum cleaner business where people 
 actually want products that suck." -- Bruno Bratti 

<insert funny description here>




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