Diferències
Ací es mostren les diferències entre la revisió seleccionada i la versió actual de la pàgina.
| info:cursos:pue:python-pcpp1:m3:1.2 [22/12/2023 12:49] – creat mate | info:cursos:pue:python-pcpp1:m3:1.2 [22/12/2023 12:49] (actual) – [Importing TkInter] mate | ||
|---|---|---|---|
| Línia 96: | Línia 96: | ||
| button.place(x=10, | button.place(x=10, | ||
| skylight.mainloop() | skylight.mainloop() | ||
| - | </cod> | + | </code> |
| To create a **Button** class object, we make use of its constructor. Its first argument (which is a reference to the target window) is obligatory. All others are optional. | To create a **Button** class object, we make use of its constructor. Its first argument (which is a reference to the target window) is obligatory. All others are optional. | ||