summaryrefslogtreecommitdiff
path: root/action.go
diff options
context:
space:
mode:
Diffstat (limited to 'action.go')
-rw-r--r--action.go9
1 files changed, 7 insertions, 2 deletions
diff --git a/action.go b/action.go
index 9dfb6c8..7db5371 100644
--- a/action.go
+++ b/action.go
@@ -7,6 +7,8 @@ type Action struct {
WidgetId int
ParentId int
+ State State
+
// Text string // what is visable to the user
ProgName string // a name useful for programming
@@ -67,8 +69,11 @@ const (
Move
Dump
User // the user did something (mouse, keyboard, etc)
- InitToolkit // initializes the toolkit
- CloseToolkit // closes the toolkit
+ ToolkitLoad // attempts to load a new toolkit
+ ToolkitInit // initializes the toolkit
+ ToolkitClose // closes the toolkit
+ ToolkitPanic
+ CloseWindow
UserQuit // the user closed the GUI
EnableDebug // open the debugging window
)