DesktopAppInfo.newFromFilename

Creates a new #GDesktopAppInfo.

class DesktopAppInfo
static
newFromFilename
(
string filename
)

Parameters

filename string

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

Return Value

Type: gio.desktop_app_info.DesktopAppInfo

a new #GDesktopAppInfo or null on error.