You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As an outcome of #13 , a more structure class hierarchy introduced, with ChoiceWidget abstract base class, which says that any subclass should maintain a value chosen (selected) by user as self.choice. Thus, before:
Please update your examples, e.g. if I run example_widgets.py and check "Prefix" in the dropdown, I get:
File ".../picotui/widgets.py", line 511, in is_prefix_changed choices = main.get_choices(main.get_text(), wid.state) AttributeError: 'WCheckbox' object has no attribute 'state'
As an outcome of #13 , a more structure class hierarchy introduced, with ChoiceWidget abstract base class, which says that any subclass should maintain a value chosen (selected) by user as
self.choice
. Thus, before:after:
The text was updated successfully, but these errors were encountered: