Hallo zusammen,
ich stehe mal wieder auf dem Schlauch und brauche eure Hilfe - im Voraus vielen Dank!
Ich erstelle mittels for-loop eine im Vorfeld unbekannte Anzahl an tkinter-Entry-Objekten, die alle an ein "<key>"-Event gebunden werden. Ich möchte nun den Wert desjenigen Entrys ausgeben lassen (oder das Entry-Objekt bestimmen), bei dem das <key>-Event ausgelöst wurde. Wie mache ich das?
DANKE!!
ninaebez
Mehrere tkinter-Entrys
- __blackjack__
- User
- Beiträge: 14335
- Registriert: Samstag 2. Juni 2018, 10:21
- Wohnort: 127.0.0.1
- Kontaktdaten:
Wobei das `Entry` ein Attribut des Event-Objekts sein sollte.
„Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.“ — Brian W. Kernighan
