if no type was found
Builder.getTypeFromName
gobject.types.GType getTypeFromName(string typeName)Looks up a type by name, using the virtual function that #GtkBuilder has for that purpose. This is mainly used when implementing the #GtkBuildable interface on a type.
Parameters
typeName | type name to lookup |
Returns
the #GType found for type_name or #G_TYPE_INVALID