Resize Event



Hello the list,

I wrote a program (Win32, VC++, Gtk2.8.10rc1, GLADE) which is describe like the following tree:
- Window
  - Vbox
    - ScrolledWindow
      - Viewport
- DrawingArea with GL support (gtk_widget_set_gl_capability func) => named D.A.
  - button
  - and other things


I need to setup some basic function like zoom, pan and so on.
For this, I need to detect the "resize" event of the window. When the window grow up, just because the D.A. must grow up too, "size_request_event" is launched and everything is fine.

*But* when window is down resized, no event seems to be launch. Does anyone know which event with wich Widget to manage this ?

Best regards.
Philippe


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