Enum libxdgkit::icon_theme::IconContext [−][src]
pub enum IconContext { Actions, Devices, FileSystems, MimeTypes, Unknown, }
Expand description
Context
The Context allows the designer to group icons on a conceptual level. It doesn’t act as a namespace in the file system, such that icons can have identical names, but allows implementations to categorize and sort by it, for example.
These are the available contexts:
- Actions. Icons representing actions which the user initiates, such as Save As.
- Devices. Icons representing real world devices, such as printers and mice. It’s not for file system nodes such as character or block devices.
- FileSystems. Icons for objects which are represented as part of the file system. This is for example, the local network, “Home”, and “Desktop” folders.
- MimeTypes. Icons representing MIME types.
Variants
There is no default
for Context here, so I’ll make an Unknown
similar to Desktop Entry’s type