(self, event=None)
Dismiss text viewer dialog.
Dismiss text viewer dialog.
Dismiss text viewer dialog .
def ok(self, event=None):
        """Dismiss text viewer dialog."""
        if self.is_modal:
            self.grab_release()
        self.destroy()
def ok ( self , event = None ) : if self . is_modal : self . grab_release ( ) self . destroy ( )