ui/key: rename ChordEvent to just Event

Event is like pointer.Event and we don't want the stuttering of
key.KeyEvent.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
ui/key: expand documentation

Signed-off-by: Elias Naur <mail@eliasnaur.com>
ui/input: expand package documentation

Signed-off-by: Elias Naur <mail@eliasnaur.com>
ui/layout: add List example

Signed-off-by: Elias Naur <mail@eliasnaur.com>
ui/layout: add Stack example

Signed-off-by: Elias Naur <mail@eliasnaur.com>
ui/layout: add Flex example

Signed-off-by: Elias Naur <mail@eliasnaur.com>
ui/layout: add Align example

Signed-off-by: Elias Naur <mail@eliasnaur.com>
ui/layout: add Inset example

Signed-off-by: Elias Naur <mail@eliasnaur.com>
ui/layout: expand package documentation

Signed-off-by: Elias Naur <mail@eliasnaur.com>
ui/layout: document layout types and helpers

Signed-off-by: Elias Naur <mail@eliasnaur.com>
apps/gophers: update gioui.org/ui version

Signed-off-by: Elias Naur <mail@eliasnaur.com>
ui/layout: document List, Stack

Tweak Flex documentation.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
ui/layout: rename List.Elem to End to match Stack and Flex

Add more documentation while we're here.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
apps: update gioui.org/ui

Signed-off-by: Elias Naur <mail@eliasnaur.com>
ui/layout: rename and sanitize enums

Rename MainAxisAlignment to Spacing and CrossAxisAlignment to just
Alignment.

Drop the untyped Start, End, Center values and add them as Spacing
and Direction values. Center is both a Direction and Alignment, so
use the synonym "Middle" for the alignment.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
ui/app: (wasm) add checks for required extensions

Signed-off-by: Elias Naur <mail@eliasnaur.com>
ui/app: more documentation

Signed-off-by: Elias Naur <mail@eliasnaur.com>
ui/app: expand package documentation

Signed-off-by: Elias Naur <mail@eliasnaur.com>
ui/app: support 0 for window width and height

The zero value means that the client don't care and a sensible
default is chosen.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
ui/app: add package documentation and document Main

Split Main into the common Main function and platform specific
main functions.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
Next