need to move locally now
This commit is contained in:
parent
13ffeae213
commit
6e9ac22c12
|
@ -14,8 +14,20 @@ import "go.wit.com/log"
|
|||
|
||||
func (pb *Tables) Custom(id int) {
|
||||
log.Info("got to guipb.Custom() for pb", pb.GetUuid(), "widget id", id)
|
||||
if mycustom != nil {
|
||||
mycustom(id)
|
||||
}
|
||||
}
|
||||
|
||||
func (pb *Table) Custom(id int) {
|
||||
log.Info("got to guipb.Custom() for pb", pb.GetUuid(), "widget id", id)
|
||||
if mycustom != nil {
|
||||
mycustom(id)
|
||||
}
|
||||
}
|
||||
|
||||
var mycustom func(int)
|
||||
|
||||
func (pb *Table) RegisterCustom(f func(int)) {
|
||||
mycustom = f
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue