Builder.getTypeFromName

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.

class Builder
getTypeFromName
(
string typeName
)

Parameters

typeName string

type name to lookup

Return Value

Type: gobject.types.GType

the gobject.types.TYPE_FLAG_RESERVED_ID_BIT found for type_name or G_TYPE_INVALID if no type was found