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

def gtkgl::apputils::EmptyScene::reshape (   self,
  width,
  height 
)
Process window size change.
This function is invoked on 'configure_event' signal.

Reimplemented from gtkgl::apputils::GLScene.

Definition at line 514 of file apputils.py.

                                    :
        print "reshape (width=%d, height=%d)" \
              % (width, height)
        glViewport(0, 0, width, height)


Generated by  Doxygen 1.6.0   Back to index