Cerca
Heus ací els resultats de la cerca.
Resultats de text complet:
- Python Professional Course Series: GUI Programming
- us at the moment, but the traditional programming paradigm in which the programmer is responsible for re... t in a more fashionable way) it needs a different paradigm. This paradigm exists, and is widely applied to create GUI applications. It's called **event-driven programming**. == Classical vs. event-driven paradigm What is EDP like? Or rather, what is EDP unli
- 1.3 Settling widgets in the window's interior
- st argument). The most usable ''place()'' method parameters are as follows (all of them are passed as k... t's desired **height** measured in pixels; if the parameter is omitted, the widget's height will be dete... et's desired **width** measured in pixels; if the parameter is omitted, the widget's width will be deter... try it. The most commonly used ''grid()'' method parameters are gathered below (as, previously, all of
- 1.6 Events and how to handle them
- et’s constructor is equipped with the ''command'' parameter, which is used to bind a callback. The wind... neither** a command **property nor a constructor parameter of that name**. Fortunately, you’re still a... back designed for usage with the command property/parameter is a **parameterless** function; * a callback intended to cooperate with the ''bind()'' method i
- 1.2 Let TkInter speak!
- called – don't be afraid – ''destroy()''. It's a parameterless method, as destroying needs (in contrast... ction. The handler used by the button has to be a parameterless function of any name. Don't forget that ... the widget by using the ''command'' constructor's parameter is not the only way offered by ''tkinter'' f
- 2.4 Shaping the main window and conversing with the user
- of the method named ''resizable()''. It uses two parameters named ''width'' and ''height'', but they ac... nse. The dialog’s behavior is determined by three parameters: * **title** – a string displayed in the
- 1.4 Coloring your widgets
- to **raised** buttons only. There two additional parameters describing the second set of colors named '
- 1.9 Looking at variables
- ng. The observer should be declared as a **three-parameter function**: <code python> def observer(id, i
- 2.3 A small lexicon of widgets - Part 3
- amed ''entryconfigure()''. The method accepts two parameters: <code python> item.entryconfigure(i, prop=