
On 11:09 Fri 08 Jul , David Virebayre wrote:
2011/7/8 Heinrich Apfelmus
: I want to hear! Just a description. :) You can also mention why you find it interesting etc.
Well I have an old program sitting around. Anyway, it's very simple :
The GUI has - a window with a menu bar, 2 directory selects (source and dest directories), 1 file select ( the 'patch file'), 1 textview to write logging information, and a 'Convert' button to start. - an about window that opens from a 'About...' menuitem - A status bar.
The convert button stats an action that scans all applicable files in a source directory, converts them and writes them in a destination directory.
The conversion itself is irrelevant to the topic, in my case it consists in searching for patterns in the file and replacing them, according to a list of changes read from a file, the 'patch file'.
The progression is logged in the textview: file processed, strings replaced. In the status bar, a percentage bar grows.
This provides another interest. wxHaskell has file dialogs, which are not events, but instead raw IO actions. -- Mats Rauhala MasseR