77 | | a) The user presses Save button. In this case the OnSave function will be called. The OnSave function makes use of Python's config parser module and writes the pair (macro name, current value) into the configuration.ini file. |
78 | | |
79 | | b) The user presses the Check button. In this case the OnCheck function will be called. The OnCheck function uses regular expressions to see whether the macro values are in format or not. |
80 | | |
81 | | c) The user presses the Load button.The OnLoad function is called. In this case the values stored in the configuration.ini file are loaded into the GUI. |
82 | | |
83 | | d) The user presses the Generate button. The OnGenerate function is called. In this case the create_header function will be called which is present in the Generator.py. The Generator.py sees if the value is same as the older value or the user has changed it. In case the user has changed the value, then it gets written into the header file. |
| 77 | a) The user presses Save button. In this case the !OnSave function will be called. The !OnSave function makes use of Python's config parser module and writes the pair (macro name, current value) into the configuration.ini file. |
| 78 | |
| 79 | b) The user presses the Check button. In this case the !OnCheck function will be called. The !OnCheck function uses regular expressions to see whether the macro values are in format or not. |
| 80 | |
| 81 | c) The user presses the Load button.The !OnLoad function is called. In this case the values stored in the configuration.ini file are loaded into the GUI. |
| 82 | |
| 83 | d) The user presses the Generate button. The !OnGenerate function is called. In this case the create_header function will be called which is present in the Generator.py. The Generator.py sees if the value is same as the older value or the user has changed it. In case the user has changed the value, then it gets written into the header file. |