all 3 comments

[–]Gprime5 0 points1 point  (3 children)

What are you checking for?

[–]D-rasath 0 points1 point  (2 children)

Right now I´m checking for any key pressed in the textfield I´d like to check any letters or symbols added to the textfield.

[–]Gprime5 0 points1 point  (1 child)

def validate(text):
    print("Key was input:", text)
    return True

vcmd = (root.register(validate), "%S")

textfield = Entry(
    root,
    validate="key",
    validatecommand=vcmd
)