Skip to content

Commit

Permalink
Adding Home button in GUI
Browse files Browse the repository at this point in the history
  • Loading branch information
KanishkaHalder1771 authored Jan 6, 2019
1 parent 999cac0 commit 6302799
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion GUI/UI_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ def button_func(topic):
topFrame4 = ttk.Frame(tab1, padding=5)
topFrame4.pack(side=TOP, fill='x')

centre0 = ttk.Frame(tab1,padding=5)
centre0.pack(fill='x')

centre1 = ttk.Frame(tab1,padding=5)
centre1.pack(fill='x')

Expand Down Expand Up @@ -96,7 +99,8 @@ def button_func(topic):
pdf = Button(topFrame4, text='PDF',width=20, command=lambda m=1: txt_pdf_func(m))
pdf.pack(side=LEFT)


button0 = Button(centre1, text='HOME', width=20, command=lambda m=0: button_func(m))
button0.pack()

button1 = Button(centre1, text='TECHNOLOGY', width=14, command=lambda m=1: button_func(m))
button1.pack(side=LEFT)
Expand Down

0 comments on commit 6302799

Please sign in to comment.