Guest User

Untitled

a guest
Apr 30th, 2016
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. def one_button():
  2. text_int.insert("1.0", "1")
  3. return
  4.  
  5. def two_button():
  6. text_int.insert("1.0", "2")
  7. return
  8.  
  9. text_int = Text(root, width = 30, height = 1, )
  10. text_int.place(x = 63, y = 25)
  11.  
  12. one_button_f = Button(root, text = "1", command = one_button, width = 12, height = 1)
  13. one_button_f.place(x = 34, y = 80)
  14.  
  15. two_button_f = Button(root, text = "2", command = two_button, width = 12, height = 1)
  16. two_button_f.place(x = 150, y = 80)
Add Comment
Please, Sign In to add comment