We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I created the dynamic UI with for loop. How to update the text on button click?
for a in State.text: tgb.text(a)
The text was updated successfully, but these errors were encountered:
Have you checked this Getting Started and Tutorial?
Sorry, something went wrong.
use a dict with dynamically specified bound variables idx += 1 adict[f"v{idx"] = a tgb.text("{adict.v" + str(idx) + "}")
idx += 1
adict[f"v{idx"] = a
tgb.text("{adict.v" + str(idx) + "}")
Do you need any more help? If not, I will close this issue.
FlorianJacta
No branches or pull requests
I created the dynamic UI with for loop. How to update the text on button click?
The text was updated successfully, but these errors were encountered: