text=" gram", grid=[7, 4, 1, 1], align="left", size=20) # Text Status # text_status = Text(app, text="", size=20, grid=[5, 1, 2, 1], align="right") text_status.text_color = "black" text_status.bg = "white" text_status.repeat(1000, operation_status) # Start-Stop Button # button_start = PushButton(app, command=start, text="Start", grid=[5, 5, 1, 3], align="right") button_start.bg = "green" button_start.text_color = "White" button_start.text_size = 15 button_start.width = 9 button_start.height = 4 button_start.repeat(1000, start_button_enable) button_stop = PushButton(app, command=stop, text="Stop", grid=[6, 5, 1, 3]) button_stop.bg = "red" button_stop.text_color = "White" button_stop.text_size = 15 button_stop.width = 9 button_stop.height = 4 #button_stop.repeat(1000, stop_button_enable) app.display()
width=20, height=5, grid=[1, 4]) button1.text_size = 20 button2.text_size = 20 button3.text_size = 20 button4.text_size = 20 button5.text_size = 20 button6.text_size = 20 button1.when_clicked = punjac1 button2.when_clicked = punjac2 button3.when_clicked = punjac3 button4.when_clicked = punjac4 button5.when_clicked = punjac5 button6.when_clicked = punjac6 activationButton = PushButton(box, text=reklamniText, width=50, height=20, grid=[0, 0, 3, 1]) activationButton.bg = "white" activationButton.text_size = 30 activationButton.repeat(1000, print1) # update reklame activationButton.when_clicked = setupScreen app.set_full_screen() app.display()