Compare commits

..

2 Commits

Author SHA1 Message Date
Jeff Carr 642929aca1 add missing widget Actions 2025-03-03 00:13:13 -06:00
Jeff Carr a7cc6fa5d3 stub in widgetpb 2025-03-02 20:06:07 -06:00
1 changed files with 19 additions and 2 deletions

View File

@ -44,6 +44,7 @@ type Action struct {
Expand bool Expand bool
TablePB []byte // a table protobuf TablePB []byte // a table protobuf
WidgetPB []byte // a tree of widgets
} }
type ActionType int // Add, SetText, Click, Hide, Append, Delete, etc type ActionType int // Add, SetText, Click, Hide, Append, Delete, etc
@ -111,6 +112,22 @@ func (s ActionType) String() string {
return "Move" return "Move"
case Dump: case Dump:
return "Dump" return "Dump"
case User:
return "User"
case ToolkitLoad:
return "ToolkitLoad"
case ToolkitInit:
return "ToolkitInit"
case ToolkitClose:
return "ToolkitClose"
case ToolkitPanic:
return "ToolkitPanic"
case Heartbeat:
return "Heartbeat"
case UserQuit:
return "UserQuit"
case EnableDebug:
return "EnableDebug"
} }
return "ActionType.String() Error" return "gui ActionType.String() Error. must be missing something in the code here"
} }