Much Work

- Definable KeyMaps
- Change 'Tabbable' to just use 'Focusable'
This commit is contained in:
2025-09-04 11:09:34 -05:00
parent c1db729bb3
commit f571b13a31
26 changed files with 881 additions and 615 deletions

View File

@@ -32,14 +32,16 @@ type Widget interface {
HandleResize(*tcell.EventResize)
HandleKey(*tcell.EventKey) bool
HandleTime(*tcell.EventTime)
SetKeyMap(km KeyMap)
AddToKeyMap(km KeyMap)
RemoveFromKeyMap(km KeyMap)
Draw(tcell.Screen)
Active() bool
SetActive(bool)
Visible() bool
SetVisible(bool)
Focusable() bool
Tabbable() bool
SetTabbable(bool)
SetFocusable(bool)
SetX(int)
SetY(int)
GetX() int