This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#_*_ coding:cp1254 _*_ | |
from tkinter import * | |
pencere = Tk() | |
def tusabas(event): | |
print ("basildi",repr(event.char)) | |
def tiklanma(event): | |
frame.focus_set() | |
print("Mouse Tıklan",event.x,event.y) | |
frame = Frame(pencere,width=100,height=100) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#_*_ coding:cp1254 _*_ | |
from tkinter import * | |
pencere = Tk() | |
def bastir(): | |
print("butona basildi") | |
buton = Button(pencere,text="click please",command=bastir) | |
buton.grid(row=0,column=0) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#_*_ coding:cp1254 _*_ | |
from tkinter import * | |
pencere = Tk() | |
user = Label(pencere,text="Kullanıcı Adı: ") | |
password=Label(pencere,text="Şifre: ") | |
user.grid(row=0,column=0) | |
password.grid(row=1,column=0,sticky=E) |