ui/pointer: expand documentation

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2019-08-11 13:46:27 +02:00
parent 1a9e03bf68
commit 9cc6757da9
5 changed files with 179 additions and 16 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ The following example marks a handler ready for key input:
import gioui.org/ui/input
import gioui.org/ui/key
var ops ui.Ops
ops := new(ui.Ops)
var h *Handler = ...
key.HandlerOp{Key: h}.Add(ops)