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