los

Cerca

Heus ací els resultats de la cerca.

1.2 Let TkInter speak!
5 Resultats, Darrera modificació:
ith the window, and the most important is how to close it while also causing the application to quit. C... the OS's default behaviors, e.g., clicking the **closing button** (ours is red – and yours?) or using a... very useful solution in some cases. Of course, closing the window without asking the user if they are... ry disappointing. For example, the window can be closed instantly, without any question, when the user
Python Professional Course Series: GUI Programming
4 Resultats, Darrera modificació:
tons. Our sample window contains only one: the **closing button**. Note that the location of these butt... he focus always engages two widgets: the one that loses the focus and the one that gains it). This mean... ual programming demands a completely different philosophy, or (expressing this thought in a more fashio... default behaviors (e.g., focus moving and window closing). Of course, just implementing an event handl
2.4 Shaping the main window and conversing with the user
4 Resultats, Darrera modificació:
t to bind your own callback to the main window’s close operation (which can be caused by the user clicking the window’s closing button), you can use a low-level ''tkinter'' m... s// and ''False'' otherwise (e.g., when the user closes the dialog using its close button) In the editor we've provided a simple sample code showing the fu
1.4 Coloring your widgets
2 Resultats, Darrera modificació:
ould work well and it really does. Let's take a closer look at this. When all the components are set ... . Now try to find RGB codes for all your favorite colors. There are so many choices – don't feel lost!
1.8 Interacting with widget methods
2 Resultats, Darrera modificació:
en say that the sense of their existence is very closely bound to the unique features of **event progra... </code> Do you remember? We used this method to close the main window and to stop the whole applicatio
1.6 Events and how to handle them
1 Resultats, Darrera modificació:
e information about a previously used callback is lost. You cannot retrieve it automatically and you mu
2.3 A small lexicon of widgets - Part 3
1 Resultats, Darrera modificació:
to our code making Ctrl-Q a shortcut designed to close the application – it happens in lines #9 (we mod