Cerca

Heus ací els resultats de la cerca.

1.4 Coloring your widgets
5 Resultats, Darrera modificació:
omenon is utilized by the so-called **RGB color model** which is one of the additive color models and it's widely used in many application, e.g. in color displays of different kinds. One of the RGB model implementations allows you to set the **saturatio
1.9 Looking at variables
5 Resultats, Darrera modificació:
ble’s annihilation (removing the object through ''del'') * a reference to a function which will be in... the observer is done with a method named ''trace_vdelete()'': <code python> variable.trace_vdelete(trace_mode,obsid) </code> Its arguments’ meanings are as... + 'd') # read followed by write variable.trace_vdelete("r", r_obsid) variable.set(variable.get() + 'e
Python Professional Course Series: GUI Programming
4 Resultats, Darrera modificació:
of the terminals (very expensive and very rare models) could be equipped with a **light pen**. Don't ... h nicer. The GUI was the answer, which is still widely used today. Let's go back to the present time. ... fferent paradigm. This paradigm exists, and is widely applied to create GUI applications. It's called... == TkInter Unfortunately, each operating system delivers its own set of services designed to operate
1.8 Interacting with widget methods
3 Resultats, Darrera modificació:
t usable? Yes, it is, e.g., when you are going to delete the previously planned invocation from the man... as the application is running. Try to change the delay time (the first method’s argument) and check ho... event manager’s memory, as the widget’s object is deleted and becomes inaccessible. <code python> Widg
2.4 Shaping the main window and conversing with the user
3 Resultats, Darrera modificació:
causes the event manager to run an event named ''<Delete>'', which enables the other widgets to react. ... in the following way: <code python> protocol("WM_DELETE_WINDOW", callback) </code> The sample shows o... .destroy() window = tk.Tk() window.protocol("WM_DELETE_WINDOW", really) window.mainloop() </code> U
1.3 Settling widgets in the window's interior
1 Resultats, Darrera modificació:
d itself is not visible** – the distribution is modeled inside the manager and you are only able to kno