예제 #1
0
    def button(self):
        #Botão MorseToText
        self.buttonMorse = Button(text='MorseToText', command=ctrl.ButtonFunction().buttonMorse)
        self.buttonMorse.place(relx=0.5, rely=0.4, relwidth=0.5, anchor=CENTER)

        self.buttonText = Button(text='TextToMorse', command=ctrl.ButtonFunction().buttonText)
        self.buttonText.place(relx=0.5, rely=0.5, relwidth=0.5, anchor=CENTER)
예제 #2
0
 def clearHandler(self):
     code = ctrl.ButtonFunction().buttonClear(self.entryCodeMorse)
예제 #3
0
 def enterHandler(self):
     code = self.entryCodeMorse.get()
     word = ctrl.ButtonFunction().buttonConvertMorse(code)
     resultado = ctrl.ControlScreens().showResultMorse(word)
예제 #4
0
 def enterHandler(self):
     code = self.entryText.get()
     word = ctrl.ButtonFunction().buttonConvertText(code)
     result = ctrl.ControlScreens().showResultText(word)