Save Color Options To A Configuration File - Python Tkinter GUI Tutorial 183

Pubblicato il: 29 giugno 2021
sul canale di: John Elder
8,820
254

In this video I'll show you how to save your color selections to a configuration file so that they're available when the program opens later on.


So you've changed the color of the treeview widget, but you want to save those colors to a config file so that they're available the next time you open the program. That's what we'll do in this video.


We'll create a little .ini file that will save our color selections and load them whenever the program runs. We'll also create a reset function to change the colors back to the default.


#tkinter #codemy #JohnElder

Timecodes

0:00​​ - Introduction
1:30 - Create treebase.ini Config File
3:26 - Import ConfigParser
4:03 - Read The Config File And Import Colors
6:51 - Add Imported Colors To Our App
8:09 - Save New Colors To Config File
11:34 - Add Reset Color Function
15:51 - Conclusion


In questa pagina del sito puoi guardare il video online Save Color Options To A Configuration File - Python Tkinter GUI Tutorial 183 della durata di ore minuti seconda in buona qualità , che l'utente ha caricato John Elder 29 giugno 2021, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 8,820 volte e gli è piaciuto 254 spettatori. Buona visione!