1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
| #-*- coding: latin-1 -*-
from Tkinter import *
splash=Tk()
splash.title("A propos de Budget")
photo=PhotoImage(file="cpt.gif")
#Création d'un canevas avec l'icone du programme
can = Canvas(splash,width =80, height =80)
item=can.create_image(60,60,image=photo)
can.grid(row=1,column=1,padx=10,pady=10,columnspan=2)
nprg=Label(splash,text="Budget Familial",font=("Times new roman",20,"bold"))
nprg.grid(row=2,column=1,padx=10,pady=15,sticky=N,columnspan=2)
explic1=Label(splash,text="Application de gestion",font=("Times new roman",10))
explic1.grid(row=5,column=1,padx=10,padx=10,sticky=N,columnspan=2)
explic2=Label(splash,text="du budget familial",font=("Times new roman",10))
explic2.grid(row=6,column=1,padx=10,pady=10,sticky=N,columnspan=2)
copyR=Label(splash,text=" Copyright (c) 2007 Devleeschouwer André ",
font=("Times new roman",8,))
copyR.grid(row=10,column=1,padx=10,pady=10,sticky=W,columnspan=2)
but=Button(splash,text="Fermer",command=quit)
but.grid(row=11,column=2,padx=10,pady=10,sticky=E)
splash.mainloop() |
Partager