函数
GioAppInfoget_all_for_type
声明 [src]
GList*
g_app_info_get_all_for_type (
const char* content_type
)
描述 [src]
获取给定内容类型的所有 GAppInfo 列表,包括推荐和后备的 GAppInfo。请参阅 g_app_info_get_recommended_for_type() 和 g_app_info_get_fallback_for_type()。
参数
content_type-
类型:
const char*要查找
GAppInfo的内容类型。数据由函数的调用者拥有。 值是一个以 NUL 结束的 UTF-8 字符串。
返回值
类型: 一个 GAppInfo* 列表
给定 content_type 的 GAppInfo 列表。
| 函数的调用者将获取数据的所有权,并负责释放它。 |