[Tkinter] bind - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: GUI (https://python-forum.io/forum-10.html) +--- Thread: [Tkinter] bind (/thread-36946.html) |
bind - menator01 - Apr-15-2022 I have a listbox. I can bind keys, mouse clicks, etc. to fire a function. I have selection_set and activate set to 0, the first item in list. My question is there a way to have the function to fire when the list is produced , so I can show/get the data from the first item that is set as default? I hope I am clear on my goal. If not I will try to explain better. I can post all the code if that will help. RE: bind - menator01 - Apr-15-2022 I found a solution. Added another function and just called it under the bind statement. |