构造函数
GdkContentProvidernew_for_bytes
声明 [src]
GdkContentProvider*
gdk_content_provider_new_for_bytes (
const char* mime_type,
GBytes* bytes
)
参数
mime_type-
类型:
const char*MIME 类型。
数据由函数调用者拥有。 该值为以 NUL 结尾的UTF-8 字符串。 bytes-
类型:
GBytes一个包含
mime_type数据的GBytes。数据由函数调用者拥有。