I just want to enable keyboard enter key to function as a submit button in Python gui for a simple windows desktop application.
import pandas as pd
from tkinter import ttk # for treeview
import keyboard
`
I just want to enable keyboard enter key to function as a submit button in Python gui for a simple windows desktop application.
import pandas as pd
from tkinter import ttk # for treeview
import keyboard
`
Copyright © 2021 Jogjafile Inc.
You need to add function to accept parameter. And pass the function to
bind.Try this: