Example #1
0
File: glib.go Project: vvanpo/gotk3
// Depth is a wrapper around g_type_depth().
func (t Type) Depth() uint {
	return uint(C.g_type_depth(C.GType(t)))
}
Example #2
0
func (t Type) Depth() uint {
	return uint(C.g_type_depth(t.g()))
}