mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-04 17:05:38 +00:00
ui/pointer: expand documentation
Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user