Menu

ScrolledListbox returns a tuple instead of the number of list items when size() is called

Anonymous
2019-08-05
2019-08-05
  • Anonymous

    Anonymous - 2019-08-05
     
  • Greg Walters

    Greg Walters - 2019-08-05

    You can use the following as a workaround. Assuming your scrolledlistbox is named 'slistbox'...

    lst=w.slistbox.get(0,'end')
    print(len(lst))
    print(lst)
    
     

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.