Type.name

Get the unique name that is assigned to a type ID. Note that this function (like all other GType API) cannot cope with invalid type IDs. G_TYPE_INVALID may be passed to this function, as may be any other validly registered type ID, but randomized type IDs should not be passed in and will most likely lead to a crash.

  1. string name(ObjectG obj)
  2. string name(GType type)
    struct Type
    static
    string
    name

Parameters

type GType

type to return name for

Return Value

Type: string

static type name or NULL