コード例 #1
0
ファイル: gui.py プロジェクト: futuro/powershame-client
 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
コード例 #2
0
ファイル: gui.py プロジェクト: futuro/powershame-client
 def unblur_powershame( self, event ):
     controller_queue.put( ( REQUEST_UNBLUR_SESSION, ) )
コード例 #3
0
ファイル: gui.py プロジェクト: futuro/powershame-client
 def resume_powershame( self, event ):
     controller_queue.put( ( REQUEST_RESUME_SESSION, ) )
コード例 #4
0
ファイル: gui.py プロジェクト: futuro/powershame-client
 def pause_powershame( self, event ):
     controller_queue.put( ( REQUEST_PAUSE_SESSION, ) )
コード例 #5
0
ファイル: gui.py プロジェクト: futuro/powershame-client
 def stop_powershame(self, event):
     controller_queue.put( ( REQUEST_END_SESSION, ) )
コード例 #6
0
ファイル: gui.py プロジェクト: futuro/powershame-client
 def fake_powershame( self, event):
     controller_queue.put( ( REQUEST_FAKE_SESSION, ) )
コード例 #7
0
ファイル: gui.py プロジェクト: futuro/powershame-client
 def start_powershame(self, event):
     controller_queue.put( ( REQUEST_START_SESSION, ) )