def connectClicked(self, button): asGuest = self.widgets["asGuestCheck"].get_active() username = self.widgets["usernameEntry"].get_text() password = self.widgets["passwordEntry"].get_text() ICLogon.run() if not ICLogon.dialog.connection: ICLogon.dialog.widgets["logOnAsGuest"].set_active(asGuest) ICLogon.dialog.widgets["nameEntry"].set_text(username) ICLogon.dialog.widgets["passEntry"].set_text(password) ICLogon.dialog.widgets["connectButton"].clicked()
def on_play_internet_chess_activate(self, widget): ICLogon.run()
def openDialogClicked(self, button): ICLogon.run()
def connectClicked(self, button): ICLogon.run() if not ICLogon.dialog.connection: ICLogon.dialog.widgets["connectButton"].clicked()