Hello - finally making some real progress on my first python script (using Tkinter to create a UI) and after a many, many months of hating on it, I think I may finally be getting over the hump.
I know my code is AWFUL, but once I get a working model I can start cleaning it up... very cool stuff. Anyway, I have a window with multiple (15 for now) labels, text entry boxes, and optionmenu controls. I'm having a little trouble getting the user selected values in the optionmenus.
The widgets are names simply C1 through C15 and are placed like this:
Any help is greatly appreciated!
I know my code is AWFUL, but once I get a working model I can start cleaning it up... very cool stuff. Anyway, I have a window with multiple (15 for now) labels, text entry boxes, and optionmenu controls. I'm having a little trouble getting the user selected values in the optionmenus.
The widgets are names simply C1 through C15 and are placed like this:
C1.grid(row=4,column=2, sticky = "w")I've tried using "get" and "value" to return to my variable when the user clicks a SUBMIT button on the page, but so far nothing is working. I know these are probably ridiculously simplified versions of what needs to be done, but:
myCategory = C1.value() myCategory = C1.get()I've read a bit about it, but can't find something relatively simple like I'm using on the entry fields.
Any help is greatly appreciated!