DesktopAppInfo.createFromFilename

Creates a new gio.DesktopAppInfo

class DesktopAppInfo
static
createFromFilename
(
string filename
)

Parameters

filename string

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

Return: a new gio.DesktopAppInfo or NULL on error.

Throws

ConstructionException GTK+ fails to create the object.