Commit 140b94d3eddb16279ac161a12593e9863adefd1b

Authored by Brice Colombier
1 parent 82190d6525
Exists in master

Added tabbed version of app

Showing 2 changed files with 18 additions and 1 deletions

GUI/tabbed_app.py View file @ 140b94d
  1 +from Tkinter import *
  2 +from ttk import *
  3 +
  4 +root = Tk()
  5 +note = Notebook(root)
  6 +
  7 +tab1 = Frame(note)
  8 +tab2 = Frame(note)
  9 +tab3 = Frame(note)
  10 +Button(tab1, text='Exit', command=root.destroy).pack(padx=100, pady=100)
  11 +
  12 +note.add(tab1, text = "Tab One", compound=TOP)
  13 +note.add(tab2, text = "Tab Two")
  14 +note.add(tab3, text = "Tab Three")
  15 +note.pack()
  16 +root.mainloop()
  17 +exit()
Generate_modified_netlist/convert_back_vhd.py View file @ 140b94d
... ... @@ -89,7 +89,7 @@
89 89 dest.seek(0, 2)
90 90 dest.write(")")
91 91 dest.write(";\n")
92   -
  92 +
93 93 dest.write("\nEND ARCHITECTURE rtl;\n")
94 94 dest.close()