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

def gtkgl::apputils::GLArea::__button_release_event (   self,
  widget,
  event 
) [private]
'button_release_event' signal handler.
This function invokes glscene.button_release().

Definition at line 312 of file apputils.py.

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


Generated by  Doxygen 1.6.0   Back to index