forked from geoffhunter/gedcom-file-processor
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgedcom_file_processor.pyw
More file actions
38 lines (34 loc) · 1.28 KB
/
gedcom_file_processor.pyw
File metadata and controls
38 lines (34 loc) · 1.28 KB
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
31
32
33
34
35
36
37
38
from tkinter import *
import ged_lib as gl
want_ui = True
def clicked1():
gl.process_ged_file()
def exit():
root.destroy()
if want_ui:
font = "Tahoma"
font_size = 10
root = Tk()
root.title("")
root.geometry('320x400') #width, height
f00 = Label(root, text=" V1.00",font=(font, font_size))
f00.grid(row=0, column=0)
space1 = Label(root, text=" ",font=(font, 10))
space1.grid(row=1, column=1)
heading = Label(root, text="GED File Processor",font=(font, font_size))
heading.grid(row=2, column=1)
space2 = Label(root, text=" ",font=(font, font_size))
space2.grid(row=3, column=1)
button1 = Button(root, text=" Process GED File ", font=(font, font_size), command=clicked1)
button1.grid(row=4, column=1)
space3 = Label(root, text=" ",font=(font, font_size))
space3.grid(row=5, column=1)
button3 = Button(root, text=" Exit ", font=(font, font_size), command=exit)
button3.grid(row=6, column=1)
space4 = Label(root, text=" ",font=(font, font_size))
space4.grid(row=7, column=1)
button4 = Button(root, text=" Edit Parameters ", font=(font, font_size), command=gl.edit_params)
button4.grid(row=8, column=1)
root.mainloop()
else:
gl.process_ged_file()