Advertisement
Guest User

Untitled

a guest
Oct 20th, 2019
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. import tkinter as tk
  2.  
  3. root = tk.Tk()
  4.  
  5. # 今回の新要素
  6. label = tk.Label(root, ...)
  7. button = tk.Button(root, ...)
  8. entry = tk.Entry(root, ...)
  9. canvas = tk.Canvas(root, ...)
  10. widget["option"] = "Choice"
  11.  
  12. # ウィジェットの配置
  13. widget.pack()
  14.  
  15. root.mainloop()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement