DesktopAppInfo.newFromFilename

gio.desktop_app_info.DesktopAppInfo newFromFilename(string filename)

Creates a new #GDesktopAppInfo.

Parameters

filenamethe path of a desktop file, in the GLib filename encoding

Returns

a new #GDesktopAppInfo or null on error.