python:interface_graphique_tkinter:start

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Prochaine révision
Révision précédente
python:interface_graphique_tkinter:start [2019/10/12 17:04] physixpython:interface_graphique_tkinter:start [2020/07/24 03:31] (Version actuelle) – modification externe 127.0.0.1
Ligne 9: Ligne 9:
 ==== Hello world ==== ==== Hello world ====
  
-<code> +<code python>
 from tkinter import * from tkinter import *
  
Ligne 29: Ligne 28:
 ==== Calculatrice ==== ==== Calculatrice ====
  
-<code>+<code python>
 from tkinter import * from tkinter import *
 from math import * from math import *
Ligne 76: Ligne 75:
 ==== Button ==== ==== Button ====
  
-<code>+<code python>
  
 from tkinter import * from tkinter import *
Ligne 93: Ligne 92:
 ==== Canvas ==== ==== Canvas ====
  
-<code>+<code python>
 from tkinter import * from tkinter import *
  
Ligne 112: Ligne 111:
 Autres éléments : Autres éléments :
  
-<code>+<code python>
 create_arc()        :  arc de cercle create_arc()        :  arc de cercle
 create_bitmap()     :  bitmap create_bitmap()     :  bitmap
Ligne 127: Ligne 126:
 Pour changer les coordonnées d'un élément : Pour changer les coordonnées d'un élément :
  
-<code>+<code python>
 canvas.coords(élément, x0, y0, x1, y1) canvas.coords(élément, x0, y0, x1, y1)
  
Ligne 134: Ligne 133:
 Pour supprimer un élément : Pour supprimer un élément :
  
-<code>+<code python>
 canvas.delete(élément) canvas.delete(élément)
  
Ligne 141: Ligne 140:
 ==== Checkbutton ==== ==== Checkbutton ====
  
-<code>+<code python>
 from tkinter import * from tkinter import *
  
  • python/interface_graphique_tkinter/start.1570892645.txt.gz
  • Dernière modification : 2020/07/24 00:23
  • (modification externe)