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