Cerca
Heus ací els resultats de la cerca.
Resultats de text complet:
- Python Professional Course Series: GUI Programming
- e it to display a GUI and to communicate with the user. They communicate bidirectionally. GUI stands for Graphical User Interface. In this three-word acronym, the User seems to be the most obvious part. The word Interface n... n fact, it is clear too – it’s a tool used by the user to command a device and to receive its responses.
- 2.4 Shaping the main window and conversing with the user
- 4 Shaping the main window and conversing with the user The main window is a very specific construct, as ... ger values. Their meaning is: * ''True'' – the user can change this dimension; * ''False'' – the user can’t change this dimension. Setting both argument... dow’s close operation (which can be caused by the user clicking the window’s closing button), you can us
- 1.2 Let TkInter speak!
- Of course, closing the window without asking the user if they are really sure that this is exactly what... ionship with them. We definitely want to ask the user before we permanently remove their window from si... ask questions, display messages, and to receive a user's reply. The dialog box is an example of a **mod... ll be **displayed inside the window** to make the user aware of the incoming issue; * the ''askquest
- 2.3 A small lexicon of widgets - Part 3
- s also able to **edit** the text according to the user’s actions. Using an ''Entry'' is necessary when you are going to ask the user for any textual information: name, password, emai... g with the **trace callback** (tracer) to force a user to enter **only digits** – all other characters w... p() </code> Try to modify the code to allow the user to enter not more than five digits. The last par
- 1.6 Events and how to handle them
- onsible for preparing the proper reactions to the user’s actions. Now it’s time to show you some detail... y happens when the event has been induced (by the user or by another factor). * **Q**: How are the eve
- 2.1 A small lexicon of widgets - Part 1
- not; thus, it is a handy tool to represent yes/no user choices. Let's start with its properties: {{:in... d), it’s a good tool to represent //one of many// user choices. Assigning the same observable variable t
- 1.5 A simple GUI application
- mainloop() </code> Entry is designed to let the user enter simple, one-line data, like single numbers,
- 1.7 Visiting widgets’ properties
- widget has a set of properties, and the widget’s user is able to **change** them by modifying the widge