Browse Source

Fixed

master
Unbewohnte 4 years ago
parent
commit
5b4003fe37
  1. 7
      SourceCode/fPtPDist.py
  2. BIN
      SourceCode/icon.png
  3. BIN
      fPtPDist.exe

7
SourceCode/fPtPDist.py

@ -35,6 +35,9 @@ def calculate():
graph(x1,x2,y1,y2) graph(x1,x2,y1,y2)
pass pass
def close_app():
root.quit()
root.destroy()
root = Tk() root = Tk()
root.title('From Point to Point Distance') root.title('From Point to Point Distance')
@ -79,7 +82,7 @@ calc = Button(root,text = 'Calculate')
calc.config(command = calculate) calc.config(command = calculate)
calc.place(x = 50, y = 250, width = 100) calc.place(x = 50, y = 250, width = 100)
root.mainloop()
root.protocol('WM_DELETE_WINDOW',close_app)
@Unbewohnte root.mainloop()

BIN
SourceCode/icon.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

BIN
fPtPDist.exe

Binary file not shown.
Loading…
Cancel
Save