RecentInfo.createAppInfo

gio.app_info.AppInfo createAppInfo(string appName = null)

Creates a [gio.app_info.AppInfo] for the specified [gtk.recent_info.RecentInfo]

In case of error, error will be set either with a GTK_RECENT_MANAGER_ERROR or a G_IO_ERROR

Parameters

appNamethe name of the application that should be mapped to a [gio.app_info.AppInfo]; if null is used then the default application for the MIME type is used

Returns

the newly created [gio.app_info.AppInfo]

Throws

[ErrorWrap]