Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: What can the event.widget reference be used for?
Post: RE: What can the event.widget reference be used fo...

(Aug-26-2021, 05:22 AM)Yoriz Wrote: Refer to tkinter widget by its instance Bingo and Yahtzee! This solution is perfect. The function nametowidget(event.widget) is streamlined for interrogating the...
Knickers GUI 4 2,540 Aug-26-2021, 02:17 PM
    Thread: What can the event.widget reference be used for?
Post: RE: What can the event.widget reference be used fo...

(Aug-26-2021, 01:41 AM)Larz60+ Wrote: When the event is triggered, you can use: print(vars(event)) which will show a dictionary, something like: Output:{'serial': 178, 'num': 1, 'height': '??', 'key...
Knickers GUI 4 2,540 Aug-26-2021, 03:32 AM
    Thread: What can the event.widget reference be used for?
Post: What can the event.widget reference be used for?

Widgets bound with self.root.bind_all("", lambda e: self.focus(e)) return a widget reference through e.widget such as ".!entry2" when a widget receives the focus. I can't find anywhere how this notat...
Knickers GUI 4 2,540 Aug-25-2021, 09:55 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020