Builder.getTypeFromName

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.

class Builder
getTypeFromName
(
string typeName
)

Parameters

typeName string

type name to lookup

Return Value

Type: GType

the #GType found for @type_name or #G_TYPE_INVALID if no type was found

Meta

Since

2.12