DesktopAppInfo.createFromFilename

Creates a new #GDesktopAppInfo.

class DesktopAppInfo
static
createFromFilename
(
string filename
)

Parameters

filename string

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

Return: a new #GDesktopAppInfo or %NULL on error.

Throws

ConstructionException GTK+ fails to create the object.

Meta