Constructs DesktopFile with "Desktop Entry" group and Version set to 1.0
1 auto df = new DesktopFile(); 2 assert(df.desktopEntry()); 3 assert(df.desktopEntry().escapedValue("Version") == "1.0"); 4 assert(df.categories().empty); 5 assert(df.type() == DesktopFile.Type.Unknown);
See Implementation
Constructs DesktopFile with "Desktop Entry" group and Version set to 1.0