Ejemplo n.º 1
0
Archivo: glib.go Proyecto: vvanpo/gotk3
// Parent is a wrapper around g_type_parent().
func (t Type) Parent() Type {
	return Type(C.g_type_parent(C.GType(t)))
}
Ejemplo n.º 2
0
func (t Type) Parent() Type {
	return Type(C.g_type_parent(t.g()))
}