summaryrefslogtreecommitdiff
path: root/common.go
blob: acd008488dc4fc0380882e03a0fdf6fe0ddf7f17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright 2025 WIT.COM Inc Licensed GPL 3.0

package guipb

func (x *Widget) IsButton() bool {
	if _, ok := x.GetType().(*Widget_Button); ok {
		return true
	}
	return false
}

//func Init() bool {
//	return true
//}