Cerca

Heus ací els resultats de la cerca.

1.2 Let TkInter speak!
8 Resultats, Darrera modificació:
isely: which creates an **alias** of its original name) at the time of import. **tk** looks shorter tha... st of your work) by using the star as a component name: <code python>from tkinter import *</code> It's ... main window's method, named **mainloop()**. The name is significant because – as you can see – there i... button has to be a parameterless function of any name. Don't forget that the function will be invoked,
1.7 Visiting widgets’ properties
6 Resultats, Darrera modificació:
three-element tuples: <code python> ("font_family_name", "font_size") ("font_family_name", "font_size", "font_style") </code> * the two-element tuple cont... strings: the first containing the **font’s family name**, and the second carrying the **font’s size** me... ly be changed, as there is a property of the same name. It seems to be obvious, but there’s one unobvio
1.6 Events and how to handle them
3 Resultats, Darrera modificació:
nd **property nor a constructor parameter of that name**. Fortunately, you’re still able to bind a call... A**: By **unique names** – each event has its own name and the name is just a unified string. == Useful events We’ve gathered some of the most usable event n
1.4 Coloring your widgets
2 Resultats, Darrera modificació:
lt saying that any of commonly used English color name can be used with ''tkinter''. Don't bother if you... short. To tell the truth, we have no idea how to name each of these 16 million colors – do you? Note:
Python Professional Course Series: GUI Programming
1 Resultats, Darrera modificació:
31222-020429.png }} Inside the title bar (as the name suggests) there is a window **title**. Of course,
2.3 A small lexicon of widgets - Part 3
1 Resultats, Darrera modificació:
oing to ask the user for any textual information: name, password, email, etc. The widget implements all
2.5 Working with the Canvas
1 Resultats, Darrera modificació:
object using an ''ImageTk'' function of the same name; * continue as usual. The example in the editor