I've been trying to learn Tkinter for a little while now and I have a project I can't figure out. In short, I want to create a Tkinter GUI that will create a window with 10 buttons. When clicked, one of the buttons will be used to accept a digitized feature (Feature Set) from the user and then place it in a Feature Class. I'm running into a problem where if the Tkinter window is instantiated first, the Feature Set input does not seem to work. I have written another script in the past where the Feature Set is accepted as user input BEFORE the Tkinter window is instantiated, then I pass the input as an argument to the class that creates the window, and everything works fine. But in this case it is a requirement that the Tkinter window be instantiated first, and later the Feature Set be accepted as user input following clicking the button.
Does anyone know how to do this? If so, how?
Thanks in advance!