Re: [GtkGLExt] from glut to gtkglext



expose function is the thing in gtk that is equivalent to the display func in
glut.

 g_signal_connect (G_OBJECT (<gtk widget on which expose is called>),
"expose_event", G_CALLBACK (<function to be called like display>), NULL);

-- 
View this message in context: http://www.nabble.com/from-glut-to-gtkglext-tf1523648.html#a5222158
Sent from the Gnome - GtkGLExt forum at Nabble.com.




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