From 7f27d8ee626eafe24c1a540bd70ad12c34745856 Mon Sep 17 00:00:00 2001 From: faiface Date: Sat, 4 May 2019 17:58:06 +0200 Subject: README: add a 'main idea of concurrent GUI' paragraph --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 80ffdc8..c317b3a 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,9 @@ Why the hell has no one made a concurrent GUI in Go yet? I have no idea. Go is a **So, how does this work?** -There's [`Env`](https://godoc.org/github.com/faiface/gui#Env0), short for _environment_: +The main idea is that different components of the GUI (buttons, text fields, ...) run concurrently and communicate using channels. Furthermore, they receive events from an object called _environment_ and can draw by sending draw commands to it. + +Here's [`Env`](https://godoc.org/github.com/faiface/gui#Env0), short for environment: ```go type Env interface { -- cgit v1.2.3