Skip to content
Snippets Groups Projects
Verified Commit f9241dc7 authored by TheJoeCoder's avatar TheJoeCoder
Browse files

Fix gui base

parent f64b49ca
Branches
No related tags found
No related merge requests found
api_url="https://api.example.com/"
\ No newline at end of file
import json
from tkinter import ttk, messagebox
from tkinter import messagebox, ttk
from tkinter import *
## Init
root = Tk()
......@@ -26,7 +27,7 @@ submit_button.grid(column=2, row=3, sticky=(W, E))
for child in mainframe.winfo_children():
child.grid_configure(padx=5, pady=5)
name_entry.focus()
submit_button.focus()
root.bind("<Return>", submit)
root.mainloop()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment