desktopfile

Reading, writing and executing .desktop file

Members

Aliases

DesktopFileException
alias DesktopFileException = IniLikeException

Exception thrown when error occures during the .desktop file read.

DesktopGroup
alias DesktopGroup = IniLikeGroup

This class represents the group (section) in the desktop file. You can create and use instances of this class only in the context of DesktopFile instance.

Classes

DesktopFile
class DesktopFile

Represents .desktop file.

Functions

checkTryExec
bool checkTryExec(string programPath)

Checks if the program exists and is executable. If the programPath is not an absolute path, the file is looked up in the $PATH environment variable. This function is defined only on Posix.

See Also

Meta