MCPcopy Create free account
hub / github.com/andlabs/ui / KeyEvent

Method KeyEvent

examples/histogram.go:197–200  ·  view source on GitHub ↗
(a *ui.Area, ke *ui.AreaKeyEvent)

Source from the content-addressed store, hash-verified

195}
196
197func (areaHandler) KeyEvent(a *ui.Area, ke *ui.AreaKeyEvent) (handled bool) {
198 // reject all keys
199 return false
200}
201
202func setupUI() {
203 mainwin := ui.NewWindow("libui Histogram Example", 640, 480, true)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected