dummy menubar
This commit is contained in:
@@ -96,6 +96,14 @@ class PathHandle:
|
|||||||
class Application(tk.Frame):
|
class Application(tk.Frame):
|
||||||
def __init__(self, root):
|
def __init__(self, root):
|
||||||
|
|
||||||
|
# ----
|
||||||
|
# Menu
|
||||||
|
menubar = tk.Menu(root)
|
||||||
|
menubar.add_command(label="Project", command=lambda: print("Switch-Project"))
|
||||||
|
menubar.add_command(label="Preferences", command=lambda: print("Preferences"))
|
||||||
|
root.config(menu=menubar)
|
||||||
|
|
||||||
|
|
||||||
# local data
|
# local data
|
||||||
self.item_list = []
|
self.item_list = []
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user