pfalcon / picotui

Lightweight, pure-Python Text User Interface (TUI) widget toolkit with minimal dependencies. Dedicated to the Pycopy project.
https://github.com/pfalcon/pycopy
MIT License
811 stars 70 forks source link

Update example_filter_listbox.py #46

Closed Exactor96 closed 4 years ago

Exactor96 commented 4 years ago

fix for AttributeError: 'WListBox' object has no attribute 'set_items'

pfalcon commented 4 years ago

Thanks for the bugreport. How to reproduce it?

Exactor96 commented 4 years ago

I just download your example ( https://raw.githubusercontent.com/pfalcon/picotui/master/examples/example_filter_listbox.py) and run. Python3.8. lib installed to venv with pip.

чт, 5 нояб. 2020 г. в 23:14, Paul Sokolovsky notifications@github.com:

Thanks for the bugreport. How to reproduce it?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/pfalcon/picotui/pull/46#issuecomment-722618006, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGKSUPN4T5SBCYVAMDZBGCDSOMBRLANCNFSM4TLZTQWQ .

pfalcon commented 4 years ago

I see, so the problem is that you use example from project git master branch, but with library from a release tag (which doesn't have stuff needed by master's examples). I'll try to make a new release soon, but in the meantime, use both library and examples from git.