Cerca

Heus ací els resultats de la cerca.

2.3 A small lexicon of widgets - Part 3
5 Resultats, Darrera modificació:
d, as the widget doesn’t take the focus itself. Run the code and test its behavior. <code python> im... command=about_app) window.mainloop() </code> Run the code and test it. Do you see that strange das... Check line #21 – this will tell you everything. Run the code. The strange dashed line appearing at t... indow.mainloop() </code> Analyze line #19, and run the code to see the difference. Of course, you c
1.2 Let TkInter speak!
4 Resultats, Darrera modificació:
mpanion there is nothing more you can do. Let's run the code now. Did you get the same window as our... . Be aware of this! Now we're fully prepared to run the code. <code python> import tkinter skylight... be passed to the ''Button'' object. Now we can run the code and check if our button is functional. W... can see, the mechanism is easy and handy. Let's run the code and check its results. We hope that you
2.2 A small lexicon of widgets - Part 2
2 Resultats, Darrera modificació:
.. ") message.pack() window.mainloop() </code> Run it and see how the ''Message'' widget reacts to t... label_frame_1.pack() label_frame_2.pack() window.mainloop() </code> Run it and find the differences.
2.4 Shaping the main window and conversing with the user
2 Resultats, Darrera modificació:
elf-describing names: ''width'' and ''height''. Run our sample code and check if the method does what... the existing widgets causes the event manager to run an event named ''<Delete>'', which enables the ot
Python Professional Course Series: GUI Programming
1 Resultats, Darrera modificació:
thing (or almost anything) to make the machinery run, but you are obliged to do something else. You h
1.6 Events and how to handle them
1 Resultats, Darrera modificació:
e behavior of some of the other events. It’ll be fun... we think. We’ve said previously that an event
1.7 Visiting widgets’ properties
1 Resultats, Darrera modificació:
ontrary one; * **update** the button’s title. Run the code and observe its behavior. The second me
1.8 Interacting with widget methods
1 Resultats, Darrera modificació:
infinite – telling it will take too much time. Run the code and check how it works. As you already
2.1 A small lexicon of widgets - Part 1
1 Resultats, Darrera modificació:
pp1:m3:pasted:20231228-105137.png}} Analyze and run the code in the editor – we wrote it to show you
2.5 Working with the Canvas
1 Resultats, Darrera modificació:
ame as for ''create_polygon()''. Let’s test it. Run the code we've provided in the editor. <code pyt