def Upload(self, parent, controller): label = tk.Label(self, text="Upload a table from CSV", font=fontstyle) label.pack(pady=100, padx=100) # Text input area and Submission button textbox = tk.Text(self, height=1, width=25) label = ttk.Label(self, text="Upload a CSV file") label.pack() textbox.pack() zonebutton = ttk.Button(self, text="Upload", command=lambda: guihelper.getName(textbox)) zonebutton.pack(pady=15)
def Delete(self, parent): label = ttk.Label(self, text="Delete A Table", font=fontstyle) label.pack(pady=100, padx=100) # Text input area and Submission button textbox = tk.Text(self, height=1, width=25) label = ttk.Label(self, text="Delete Table by Name") label.pack() textbox.pack() zonebutton = ttk.Button(self, text="Delete", command=lambda: guihelper.getName(textbox)) zonebutton.pack(pady=15)
def Create(self, parent, controller): label = tk.Label(self, text="Create A Table", font=fontstyle) label.pack(pady=100, padx=100) bottom = tk.Frame(self) bottom.pack(side='bottom') # Text input area and Submission button textbox = tk.Text(self, height=1, width=25) label = ttk.Label(self, text="Create Table by Name") label.pack() textbox.pack() zonebutton = ttk.Button(self, text="Create", command=lambda: guihelper.getName(textbox)) zonebutton.pack(pady=15)