[GtkGLExt] gtkglext and glade (python)
- From: Tiago Correa <ctiagotb yahoo com br>
- To: gtkglext-list gnome org
- Subject: [GtkGLExt] gtkglext and glade (python)
- Date: Wed, 28 Mar 2007 09:39:14 -0300 (ART)
Hello,
I've application in python with a interface in a glade file that contains a drawingarea and I would like to insert a opengl scene at this drawingarea. But how can I do it?
I tried to this:
gladefile = gtk.glade.XML("opengl.glade")
glarea = gladefile.get_widget('drawingarea1')
gtk.gtkgl.widget_set_gl_capability(glarea,glconfig,None,True, gtk.gdkgl.RGBA_TYPE)
a = gtk.gtkgl.widget_is_gl_capable(glarea)
print a
but don't worked =/
Can someone help me?
Regards,
Tiago
__________________________________________________
Fale com seus amigos de graça com o novo Yahoo! Messenger
http://br.messenger.yahoo.com/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]