Re: Resize Event
- From: Axel Simon <A Simon kent ac uk>
- To: Philippe CHAUVAT <p chauvat migratech fr>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Resize Event
- Date: Thu, 09 Feb 2006 14:27:09 +0000
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]