abobaker09

tkinter_python

Oct 8th, 2018
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.20 KB | None | 0 0
  1. #مثال بسيط في استخدام tkiner
  2. from tkinter import *
  3. b=Tk()
  4. b.title("beko")
  5. b.geometry("40x40")
  6. b1=Button(b,text="hi",bg="green",width=3,height=2)
  7. b1.place(x=300,y=400)
  8. b.mainloop()
Advertisement
Add Comment
Please, Sign In to add comment