Function DesktopFile.type

Type of desktop entry.

DesktopEntry.Type type() nothrow @nogc @safe const;

Returns

Type of desktop entry.

See Also

DesktopEntry.type

Example

auto desktopFile = new DesktopFile(iniLikeStringReader("[Desktop Entry]"), ".directory");
assert(desktopFile.type == DesktopFile.Type.Directory);