Apr-02-2020, 07:14 PM
(This post was last modified: Apr-02-2020, 07:16 PM by catlessness.)
the solution i have now is very limited to my program, I simply bind every widgets with '<Return>' as:
def refresh(event): ''' function here ''' widget1.bind('<Return>',refresh) widget2.bind('<Return>',refresh) #...... window.mainloop()so that after i input the value i need to press entre to run the function i need.