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

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

'visibility_notify_event' signal handler.

Definition at line 450 of file apputils.py.

00450                                                       :
        """'visibility_notify_event' signal handler.
        """
        if self.__enable_timeout:
            if event.state == gtk.gdk.VISIBILITY_FULLY_OBSCURED:
                self.__timeout_remove()
            else:
                self.__timeout_add()

        if self.__enable_idle:
            if event.state == gtk.gdk.VISIBILITY_FULLY_OBSCURED:
                self.__idle_remove()
            else:
                self.__idle_add()

        return True


### Simple OpenGL application driver


Generated by  Doxygen 1.6.0   Back to index