Python Forum

Full Version: Strategy on updating edits back to data table and object variables
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I pull data out of a data table to assign to a object's variables. I use these object variables to assign to kivy text input.text. There are numerous text inputs on a screen.
Question 1: when text is changed in some of the text inputs, is it easier just to update all the text entries back to the data table regardless or set up code to bind each text input so only the ones changed get updated back to the table?

Question2: Same idea on updating object variable after a change has been made-just grab them all and update versus going through a call back for each text input and only update ones changed?

Coding wise just seems easier update all each time. speed wise not sure.
thanks