basicViewerPython.py
def closeEvent(self, e):
        """The user has just attempted to close the Qt window."""

        if not self.conn_disconnected:
            vncsdk.EventLoop.run_on_loop(viewer_conn.on_closed)
            # We don't shut the window immediately, it should stay open until
            # the connection has been cleanly closed, at which point we receive
            # the on_disconnected() signal and exit the app.
            e.ignore()
The user has just attempted to close the Qt window.
The user has just attempted to close the Qt window.
The user has just attempted to close the Qt window .
def closeEvent(self, e):
        if not self.conn_disconnected:
            vncsdk.EventLoop.run_on_loop(viewer_conn.on_closed)
            e.ignore()
def closeEvent ( self , e ) : if not self . conn_disconnected : vncsdk . EventLoop . run_on_loop ( viewer_conn . on_closed ) e . ignore ( )
The user has just attempted to close the Qt window.
The user has just attempted to close the Qt window .
"""The user has just attempted to close the Qt window.""" # We don't shut the window immediately, it should stay open until # the connection has been cleanly closed, at which point we receive # the on_disconnected() signal and exit the app.
self
e