https://github.com/yoeight/mvc-gtk3-example
Gtk3 app powered by MVC library. See https://hackage.haskell.org/package/mvc
https://github.com/yoeight/mvc-gtk3-example
Last synced: about 1 year ago
JSON representation
Gtk3 app powered by MVC library. See https://hackage.haskell.org/package/mvc
- Host: GitHub
- URL: https://github.com/yoeight/mvc-gtk3-example
- Owner: YoEight
- License: mit
- Created: 2014-04-28T22:06:10.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2014-04-28T22:23:40.000Z (about 12 years ago)
- Last Synced: 2025-04-01T21:59:51.092Z (about 1 year ago)
- Language: Haskell
- Homepage:
- Size: 137 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MVC Gtk3 Example
## Description
This is a simple file copier. It got 3 buttons:
1. `Choose source`: Select a file to copy from
2. `Choose destination`: Select a file to write to
3. `Do it`: Perform copy
## Implementation
1. Controller emits `ISrc` when an source file is selected. The model yields `OSrc` when it gets `ISrc`
2. Controller emits `IDest` when an destination file is selected. The model yields `ODest` when it gets `IDest`
3. Controller emits `IDoIt` when `Do It` button is clicked. The model yields `ODoIt` when it gets `IDoIt`