Anonymous
public text v1 · immutable# -*- coding: utf-8 -*-
# Deneme gui'si
# Coded by rohanrhu@opensource 2008
from Tkinter import *
def a(arg):
l1.config(text="Kubuntu, Debian!")
def b(arg):
l1.config(text="Pardus, Gentoo!")
tk = Tk()
tk.title("Deneme!")
tk.geometry("400x300")
b1 = Button(text="Değiştir")
b1.bind("<Enter>", a)
b1.bind("<Leave>", b)
b1.place(x=15, y=20)
l1 = Label()
l1.config(text="Pardus, Gentoo!")
l1.place(x=150, y=200)
tk.mainloop()