函数
Gdkcontent_register_deserializer
声明 [src]
void
gdk_content_register_deserializer (
const char* mime_type,
GType type,
GdkContentDeserializeFunc deserialize,
gpointer data,
GDestroyNotify notify
)
参数
mime_type
-
类型:
const char*
函数从该 MIME 类型进行反序列化的对象。
数据由函数的调用者所有。 值是 NUL 终止的 UTF-8 字符串。 type
-
类型:
GType
函数创建的对象类型。
deserialize
-
回调函数。
data
-
类型:
gpointer
deserialize
可以访问的数据。该参数可以为 NULL
。数据由函数的调用者所有。 notify
-
类型:
GDestroyNotify
data
的销毁通知函数。