Function DesktopFile.removeGroup
Removes group by name. You can't remove "Desktop Entry" group with this function.
override bool removeGroup
(
string groupName
) nothrow @safe;
Example
auto df = new DesktopFile();
df .addGenericGroup("X-Action");
assert(df .group("X-Action") !is null);
df .removeGroup("X-Action");
assert(df .group("X-Action") is null);
df .removeGroup("Desktop Entry");
assert(df .desktopEntry() !is null);