guipb/table.custom.go

34 lines
833 B
Go

// Code generated by go.wit.com/apps/autogenpb DO NOT EDIT.
// This file was autogenerated with autogenpb 0.0.62 2025/02/24_1709_UTC
// go install go.wit.com/apps/autogenpb@latest
//
// define which structs (messages) you want to use in the .proto file
// Then sort.pb.go and marshal.pb.go files are autogenerated
//
// autogenpb uses it and has an example .proto file with instructions
//
package guipb
import "go.wit.com/log"
func (pb *Tables) Custom(w *Widget) {
log.Info("got to guipb.Custom() for pb", pb.GetUuid(), "widget id", w)
if mycustom != nil {
mycustom(w)
}
}
func (pb *Table) Custom(w *Widget) {
log.Info("got to guipb.Custom() for pb", pb.GetUuid(), "widget id", w)
if mycustom != nil {
mycustom(w)
}
}
var mycustom func(*Widget)
func (pb *Table) RegisterCustom(f func(*Widget)) {
mycustom = f
}