Builder.getTypeFromName

gobject.types.GType getTypeFromName(string typeName)

Looks up a type by name.

This is using the virtual function that gtk.builder.Builder has for that purpose. This is mainly used when implementing the gtk.buildable.Buildable interface on a type.

Parameters

typeNametype name to lookup

Returns

the GType found for type_name or G_TYPE_INVALID

if no type was found