summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-02-13 20:11:32 -0600
committerJeff Carr <[email protected]>2025-02-13 20:11:32 -0600
commit59f97be98cb663c60573a3c5cce4871ae85f3836 (patch)
tree917086de0a8a909c579b1ab3892c44d0e7968ea5
parentd4b7cd32d47ab0307c650f711f784575ad0d8e2d (diff)
subbed in tablesv1.1.29
-rw-r--r--action.go2
-rw-r--r--widget.go3
2 files changed, 5 insertions, 0 deletions
diff --git a/action.go b/action.go
index 84a71b0..a2cdee8 100644
--- a/action.go
+++ b/action.go
@@ -42,6 +42,8 @@ type Action struct {
// Make widgets fill up the space available
Expand bool
+
+ TablePB []byte // a table protobuf
}
type ActionType int // Add, SetText, Click, Hide, Append, Delete, etc
diff --git a/widget.go b/widget.go
index 6b9849b..8946e73 100644
--- a/widget.go
+++ b/widget.go
@@ -33,6 +33,7 @@ const (
Textbox // is this a Label with edit=true
Slider // like a progress bar
Spinner // like setting the oven temperature
+ Table // a full window & table
Separator // TODO
Image // TODO
Area // TODO
@@ -79,6 +80,8 @@ func (s WidgetType) String() string {
return "Spinner"
case Separator:
return "Separator"
+ case Table:
+ return "Table"
case Image:
return "Image"
case Area: