GObject.type_from_name
Description: Reference for GObject.type_from_name

### Function

# GObjecttype_from_name

#### Declaration [src]

    GType
    g_type_from_name (
      const gchar* name
    )

#### Description [src]

Look up the type ID from a given type name, returning 0 if no type has been registered under this name (this is the preferred method to find out by name whether a specific type has been registered yet).

#### Parameters

`name`

  Type: `const gchar*`

  Type name to look up.

  The data is owned by the caller of the function.
  The value is a NUL terminated UTF-8 string.

#### Return value

Type: `GType`

Corresponding type ID or 0.