Cerca

Heus ací els resultats de la cerca.

Python Professional Course Series: GUI Programming
6 Resultats, Darrera modificació:
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
6 Resultats, Darrera modificació:
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
6 Resultats, Darrera modificació:
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!
3 Resultats, Darrera modificació:
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
2 Resultats, Darrera modificació:
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
1 Resultats, Darrera modificació:
to **raised** buttons only. There two additional parameters describing the second set of colors named '
1.9 Looking at variables
1 Resultats, Darrera modificació:
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
1 Resultats, Darrera modificació:
amed ''entryconfigure()''. The method accepts two parameters: <code python> item.entryconfigure(i, prop=