[Python] Keep placeholder after typing and deleting something in a python Tkinter Entry?

Discussão em 'Python' iniciado por Stack, Junho 26, 2025.

  1. Stack

    Stack Membro Participativo

    This is my code:

    date.insert(0, 'yyyy-mm-dd')
    date.bind("<FocusIn>", lambda args: history_Date_Entry.delete('0', 'end'))


    How can I make the placeholder visible after someone type on it and delete the text?

    Continue reading...

Compartilhe esta Página