-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmenu.py
More file actions
31 lines (23 loc) · 726 Bytes
/
Copy pathmenu.py
File metadata and controls
31 lines (23 loc) · 726 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
from tkinter import *
def stop():
root.destroy()
#-----window configuration-----
root =Tk()
root.geometry("400x100")
root.title('Calculate FreeFall')
root.config(background='#ffffff')
root.resizable(False,False)
#Setting Header
heading = Label(text="Ingresa la altura.",bg="black",fg="white", width="400", height="1")
heading.pack()
#-----window configuration-----
#-----Data Request-----
height_text = Label(text="Altura",)
height_text.place(x="90",y="40")
height_ = IntVar()
height_entry = Entry(textvariable = height_, width = "20")
height_entry.place(x="140",y="38")
submit = Button(root,text="Submit", width="10",height="1" ,command=stop)
submit.place(x ="140",y="65")
root.mainloop()
#-----Data Request-----