Python Forum
Kivy Filechooser, Saving Selection
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Kivy Filechooser, Saving Selection
#2
This is looks like totally wrong approach. Configurations like this should be stored in the config file and kivy has nice interface to work with config files. All the config settings are loaded in the memory and you should work with these. If user changes configuretaion - you save to the config file, in order to be available for next time when user starts the program, but still you work with config settings that are loaded (as been changed in the meantime, i.e. in memory is always copy of the config settings as in teh file).
Even if there was no interface for config files in kivy, this should be a variable (most probably app attribute) that you work with, instead of reloading py module.
Reply


Messages In This Thread
Kivy Filechooser, Saving Selection - by chelovek - Feb-08-2017, 08:04 AM
RE: Kivy Filechooser, Saving Selection - by buran - Feb-08-2017, 09:17 AM
RE: Kivy Filechooser, Saving Selection - by buran - Feb-08-2017, 10:19 AM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020