RecentInfo.createAppInfo

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

class RecentInfo
createAppInfo
(
string appName = null
)

Parameters

appName string

the 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

Return Value

Type: gio.app_info.AppInfo

the newly created gio.app_info.AppInfo