[Python] Detect text of an ttk entry widget

Discussão em 'Python' iniciado por Stack, Fevereiro 17, 2025.

  1. Stack

    Stack Membro Participativo

    I would like detect the text of a tkinter ttk entry widget

    I tried with:

    import tkinter as tk
    from tkinter import ttk

    tk=tk.Tk()

    e1 = ttk.Entry(tk)
    if e1 == "good"
    print("good")

    Continue reading...

Compartilhe esta Página