listbox binding..what is the current selection?
xer0925 at gmail.com
Wed Mar 6 01:54:45 CET 2013
I have a listbox with two strings "Fixed" and "Random". It is bound by the following statement:
Here's the beginning of the set_lengthtype code:
The print(s) statement is for debugging. If 'Random' was selected and the user clicks 'Fixed', then Random will print. I would like to know what the user just selected, not what was selected before the user clicked. How can I determine the current selection? Thanks.
More information about the Python-list