How to access widget using their id property?
#2134
dr-sandipan-chowdhury
started this conversation in
Debugging help
Replies: 2 comments 1 reply
|
Is this feature implemented in toga yet? |
0 replies
|
However, to be clear: "saving the widget in some kind of variable" is... programming. While ID-based lookup can be convenient in some situations, and is necessary for complex meta-programming cases, for simple apps, storing the widgets you're using as variables is good programming practice, not something to be avoided. |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Was not able to find a way to use the
idproperty to access the widget. Each time when I do need access to widget, I must save the widget in some kind of variable. I want some feature like "document.getElementById" of Javascript.I dont know if it is implemented or not...
All reactions