/// <summary> /// Return the name for a GType. /// </summary> /// <param name="type"></param> /// <returns></returns> public static string TypeName(IntPtr type) { return(Marshal.PtrToStringAnsi(GType.GTypeName(type))); }