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

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

'configure_event' signal handler.
This function invokes glscene.reshape().

Definition at line 247 of file apputils.py.

00247                                               :
        """'configure_event' signal handler.
        This function invokes glscene.reshape().
        """
        glcontext = widget.get_gl_context()
        gldrawable = widget.get_gl_drawable()
        if not gldrawable.gl_begin(glcontext): return
        # Call glscene.reshape()
        self.glscene.reshape(widget.allocation.width,
                             widget.allocation.height)
        gldrawable.gl_end()
        return True

    def __expose_event(self, widget, event):


Generated by  Doxygen 1.6.0   Back to index