Re: Resize Event



On Thu, 2006-02-09 at 15:14 +0100, Philippe CHAUVAT wrote:
Hello Yeti,

IIUC you are looking for "size-allocate"; "size-request" is
emitted when widget is asked for preferred size, but
"size-allocate" when it's told the actual allocation.
When I follow those steps:
- maximize the window: size_request and size_allocate are both called
- then reduce the window: none of them is called.

I think you're looking for the configure-event which is called each time
the window changes. Make sure you set GDK_STRUCTURE_MASK with
gtk_widget_add_events().

Axel.





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