diff options
| -rw-r--r-- | action.go | 2 | ||||
| -rw-r--r-- | widget.go | 3 |
2 files changed, 5 insertions, 0 deletions
@@ -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 @@ -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: |
