Hi,
I have created a program that opens up a new toplevel on a button press with additional options.
This new window has an entry widget that I would like to get the value out using:
Where <topLevelPath> is the name of top level created on the button press.
However, when this is run I get the error message ".newWindow.choiceEntry is an invalid command"
Any help would be much appreciated
I have created a program that opens up a new toplevel on a button press with additional options.
This new window has an entry widget that I would like to get the value out using:
Code:
toplevel .newWindow
.......<other code>........
set choice [.newWindow.choiceEntry]
Where <topLevelPath> is the name of top level created on the button press.
However, when this is run I get the error message ".newWindow.choiceEntry is an invalid command"
Any help would be much appreciated