Save Color Options To A Configuration File - Python Tkinter GUI Tutorial 183
Автор: Codemy.com
Загружено: 2021-06-29
Просмотров: 8761
Описание:
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
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: