Outils pour utilisateurs

Outils du site


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édentesRévision précédente
python:interface_graphique_tkinter:start [2019/10/12 17:04] physixpython:interface_graphique_tkinter:start [2019/10/21 13:18] (Version actuelle) physix
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 : (modification externe)