btn = Button("Run", _on_click, name="btn_run")
leads to "TypeError: init() got multiple values for argument 'name'"
and
btn = Button("Run", _on_click)
btn.name="btn_run"
leads to "AttributeError: can't set attribute"
Windows 10
Asciimatics @64822eb8
I have a branch on a fork with two unit tests for these exceptions. That branch also has a fix for first error.
But I do not know how to solve the second error.
I will submit the branch as a pull-request and we can discuss it from there.
btn = Button("Run", _on_click, name="btn_run")
leads to "TypeError: init() got multiple values for argument 'name'"and
leads to "AttributeError: can't set attribute"
Windows 10 Asciimatics @64822eb8
I have a branch on a fork with two unit tests for these exceptions. That branch also has a fix for first error. But I do not know how to solve the second error. I will submit the branch as a pull-request and we can discuss it from there.