Cerca
Heus ací els resultats de la cerca.
Resultats de text complet:
- 2.4 Shaping the main window and conversing with the user
- -= 50 if size <= 100: grows = True window.geometry(str(size) + "x" + str(size)) size = 100 grows = True window = tk.Tk() window.geometry("100x100") windo... ues, not integer values. Their meaning is: * ''True'' – the user can change this dimension; * ''Fal... n** with a **question** mark in it; * returns ''True'' if the user’s response is //Yes// and ''False''
- Python Professional Course Series: GUI Programming
- nd so on. Let's try to imagine it. <code> while True: wait_for_user_action() if user_pressed_b... encounter with programming in Python. Yes, it’s true – IDLE, the very first Python IDE, is written usi
- 1.6 Events and how to handle them
- EKABOO!") def do_nothing(): pass switch = True window = tk.Tk() buton_1 = tk.Button(window, text... nfig(text=words[word_no % len(words)]) switch = True words = ["Old", "McDonald", "Had", "A", "Farm"] w
- 1.2 Let TkInter speak!
- roller. That’s all. Really. Looks too good to be true? Let us show how it works. We’ll do it step-by-st
- 1.8 Interacting with widget methods
- g=color) frame.after(500, blink) is_white = True window = tk.Tk() frame = tk.Frame(window, width=2
- 2.5 Working with the Canvas
- arrow=tk.BOTH, fill='red', smooth=True, width=3) button = tk.Button(window, text="Quit",