I use the basic example:
https://live.gnome.org/Vala/OpenGLSamples#Using_GtkGLExt:_Coloured_Triangle And for some reason, when I resize the top-level window, allocation of the drawing area never get changed. It should be, since on_configure_event () method is connected to configure-event signal. I also tried to connect it with size-allocation signal and it didn't response too. However, when trying Gtk with GLX, the drawing area allocation get changed: https://live.gnome.org/Vala/OpenGLSamples#Using_GLX:_Coloured_Triangle I use version 1.x, not the Gtk 3 development. Is that a known bug or it's just me? |