def get_login_creds( self, event ): button = event.GetEventObject() config_window = button.GetParent() username= config_window.text_ctrl_username.GetValue() password= config_window.text_ctrl_password.GetValue() self.config_dialog.Close() controller_queue.put( (USER_CREDS, {'username': username, 'password': password } )) self.logging_in = False
def unblur_powershame( self, event ): controller_queue.put( ( REQUEST_UNBLUR_SESSION, ) )
def resume_powershame( self, event ): controller_queue.put( ( REQUEST_RESUME_SESSION, ) )
def pause_powershame( self, event ): controller_queue.put( ( REQUEST_PAUSE_SESSION, ) )
def stop_powershame(self, event): controller_queue.put( ( REQUEST_END_SESSION, ) )
def fake_powershame( self, event): controller_queue.put( ( REQUEST_FAKE_SESSION, ) )
def start_powershame(self, event): controller_queue.put( ( REQUEST_START_SESSION, ) )