aboutsummaryrefslogtreecommitdiffstats
path: root/env.go
diff options
context:
space:
mode:
authorfaiface <faiface2202@gmail.com>2019-05-07 01:18:17 +0200
committerfaiface <faiface2202@gmail.com>2019-05-07 01:18:17 +0200
commit875b12b4a0c49f7bc0ae3ba6c4a0b842f2a8653f (patch)
treeb7f5a97599a9ab7eb584c61cc5948ab6eb1a1aba /env.go
parentd80d49a3f84c112ae8a30913023214fd975dbe73 (diff)
downloadgui-875b12b4a0c49f7bc0ae3ba6c4a0b842f2a8653f.zip
correctly document the resize event
Diffstat (limited to 'env.go')
-rw-r--r--env.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/env.go b/env.go
index 85765e4..2515417 100644
--- a/env.go
+++ b/env.go
@@ -15,6 +15,8 @@ import (
// supplied draw.Image, which is the drawing area of the Env and returns a rectangle
// covering the whole part of the image that got changed.
//
+// An Env guarantees to produce a "resize/<x0>/<y0>/<x1>/<y1>" event as its first event.
+//
// The Events() channel must be unlimited in capacity. Use MakeEventsChan() to create
// a channel of events with an unlimited capacity.
//