An open API service indexing awesome lists of open source software.

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

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`