The system can now focus previous, next

This commit is contained in:
2023-04-15 21:49:40 -04:00
parent 0a21f605fb
commit e16195d274
3 changed files with 58 additions and 13 deletions

View File

@@ -37,6 +37,9 @@ type Container interface {
type Focusable interface {
Element
// Enabled returns whether or not the element can currently accept focus.
Enabled () bool
// HandleFocusChange is called when the element is focused or unfocused.
HandleFocusChange ()
}