osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

get value from list using widget


On Wednesday, July 5, 2017 at 4:15:34 PM UTC-5, Terry Reedy wrote:
> On 7/5/2017 12:34 PM, jorge.conrado at cptec.inpe.br wrote:
> 
> > I would like know dow can I select and get the value from
> > a list of values uisng widgets.
> 
> One way is to learn tkinter and then learn to use the
> Listbox widget. The doc references a couple of decent
> tutorial web sites. Stackoverflow has many good tkinter
> examples (in the answers, not the questions ;-).

Unfortunately for the occasional lurker of StackOverflow,
the "top voted" answer is not always the most informative,
and, in some rare cases, may even be outright bad advice. My
solution is to read the entire thread, and then, utilizing
my advanced analytical skills, decide which is the best.