Module structs

Source
Expand description

This module provides types for parsing and representing Linux .desktop files according to the freedesktop.org Desktop Entry Specification. Desktop entries are used to describe applications, shortcuts, and directories in desktop environments.

Structs§

ApplicationFields
Fields specific to Application type desktop entries. These fields are only valid when the entry type is Application.
DesktopAction
Represents an application action, which defines an alternative way to launch an application with different parameters.
DesktopEntry
Represents a complete desktop entry, containing all the standard fields defined in the freedesktop.org specification.
DesktopFile
Represents a complete desktop file including the main entry and all its associated actions.
IconString
Represents an icon specification that can be either a file path or an icon name from the system theme.
LinkFields
Fields specific to Link type desktop entries. These fields are only valid when the entry type is Link.
LocaleString
A string that can have different values based on the system locale. Used for internationalization of desktop entries.
LocaleStringList
A list of strings that can vary based on the system locale. Used for internationalized lists like keywords.

Enums§

EntryType
The type of desktop entry, which determines its behavior and required fields.
ParseError