Convert a simple existing VisualBasic 6.0 application into a Python application (with a gtk2 interface) for use on Linux.
## Deliverables
The existing application consists of a single main window (with an additional file load/save dialog). The main window shows various user-editable text fields and checkboxes used for configuring an electronic instrument. The instrument may contain several "channels" that must be individually configured, so the top portion of the window contains the parameters common to all channels, and the bottom portion contains the parameters unique to each channel. The user can cycle through the channels, and can copy the first channel data into the other channels. The configuration data can be loaded from an existing text files (samples included in the zip file). The configuration data can be saved from the screen to a text file as well. When the user is done configuring, they click the "Done" button, and a text box displays a generated list of commands that the user needs to transmit to the instrument. (This transmission is not part of the program - the commands are cut and pasted into a different program). The existing main window and its text fields, labels, and checkboxs need to be translated into the gtk equivalents. The file load/save dialog needs to be replaced with the gtk equivalent. The simple VB code that forms the output command string needs to be translated into Python. The use of pure Python with a glade file to define the UI is preferred. Other approaches would be considered as well, such as using the vb2py script ([login to view URL]) to generate a PythonCard application ([login to view URL]). The code should introduce no hard-coded constants (like the number of check boxes, for instance). The program should allow for simple addition of more configuration test fields or checkboxes in the future, without conflicting with the text files. The font type and size used in the UI must be defined in the code, and the UI must be defined in such a way that it will shrink and expand to accommodate any font setting. If a glade file is used, that means that auto-sizing hboxes and vboxes must be used to group controls. No hard-coded widths or heights may be used. The existing VB implementation of this program is feature-complete, and is attached in a zip file. This is a straight-forward programming-language translation project, that requires familiarity with VB, Python, gtk2, and glade.