Ezhil-Lang
Ezhil-Lang copied to clipboard
ezhuthi settings GUI interface - அமைப்புகள்
Feature involves providing toolbar and menu item hooks to the settings file "ezhuthi.json". The JSON file is a simple Python style dictionary:
{"font-size": "16", "keyword-color": "blue", "text-color": "black", "font-face": "SansItalic", "timeout": 60, "home-directory": "C:\\Users\\muthu\\devel\\ezhil-lang\\editor", "accept_license": true}
- Add toolbar with GTK stock settings using the enumerate 'gtk-stock-settings'
- Add the menu item for 'settings' under the 'Edit' menu (திருத்து)
Currently the "ezhuthi.json" file load/save lifecycle is maintained by the class EzhilSettings
The code for the callback will be similar to the hooks for 'Help > Write code in Tamil' callback or 'Help > About' menu activate. See code in lines here
You may have to make a Glade window for settings on the lines of,