Andreas Volz schrieb:
> Hi,
> 
> if I call queue_draw() from a window other than my main window with the
> gtkglext, nothing get updated in the opengl widget. What should I do to
> update gtkglext in another window?

I use the following to schedule regular updates. A similar solution
could solve your problem.

In the OpenGL widget I have
bool Bufferview::update(void)
{
        queue_draw();
        return(true);
}

then I use a SigC signal to call it:
updatecon = Glib::signal_timeout().connect(SigC::slot(*this,
&Bufferview::update), unsigned((1.0f / updates->get_value()) * 1000.0f));

Philipp
_______________________________________________
gtkglext-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkglext-list

Reply via email to