Logo Search packages:      
Sourcecode: python-gtkglext1 version File versions  Download package

def gtkgl::apputils::GLArea::__realize (   self,
  widget 
) [private]

Signal handlers.

'realize' signal handler.
This function invokes glscene.init().

Definition at line 235 of file apputils.py.

                               :
        """'realize' signal handler.
        This function invokes glscene.init().
        """
        glcontext = widget.get_gl_context()
        gldrawable = widget.get_gl_drawable()
        if not gldrawable.gl_begin(glcontext): return
        # Call glscene.init()
        self.glscene.init()
        gldrawable.gl_end()
        return True


Generated by  Doxygen 1.6.0   Back to index