mardi 10 mars 2020

How to keep kivy CheckBox active after exiting the program

i tried to make the question really simple with my example code. How to keep the value of checkbox even after i exiting the program? so when i re-open the program the checkbox will still be activated?

#Test.py
from kivy.app import App
from kivy.uix.checkbox import CheckBox

class TestaApp(App):
    def build(self):
        return CheckBox()

if __name__ == "__main__":
    TestaApp().run()



Aucun commentaire:

Enregistrer un commentaire