summaryrefslogtreecommitdiff
path: root/toolkit/democui/plugin.go
blob: 86125d479566ce02b629b40496b4555a42e5832a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package main

import (
	// if you include more than just this import
	// then your plugin might be doing something un-ideal (just a guess from 2023/02/27)
	"git.wit.org/wit/gui/toolkit"
)

func Quit() {
	me.baseGui.Close()
}

func Action(a *toolkit.Action) {
	log(logNow, "Action()", a)
	w := setupWidgetT(a)
	place(w, a)
	log(logInfo, "Action() END")
}