summaryrefslogtreecommitdiff
path: root/table.go
blob: 429b4cae2205753487de90b63c386a76b6883aa7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Copyright 2017-2025 WIT.COM Inc. All rights reserved.
// Use of this source code is governed by the GPL 3.0

package main

import (
	"go.wit.com/lib/protobuf/guipb"
	"go.wit.com/log"
	"go.wit.com/toolkits/tree"
)

func showTable(t *guipb.Table) {
	log.Info("should show table here")
}

func enableWidget(n *tree.Node) {
	tk := n.TK.(*guiWidget)
	tk.Enable()
}

func disableWidget(n *tree.Node) {
	tk := n.TK.(*guiWidget)
	tk.Disable()
}