Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ezhuthi settings GUI interface - அமைப்புகள் #189

Open
arcturusannamalai opened this issue Apr 15, 2017 · 0 comments
Open
Assignees

Comments

@arcturusannamalai
Copy link
Collaborator

arcturusannamalai commented Apr 15, 2017

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}
  1. Add toolbar with GTK stock settings using the enumerate 'gtk-stock-settings'
  2. 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,

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant