[][src]Crate xcursor

A crate to load cursor themes, and parse XCursor files.

Modules

parser

A module implementing XCursor file parsing.

Structs

CursorTheme

A struct representing a cursor theme.

Functions

theme_inherits

Loads the specified index.theme file, and returns a Some with the value of the Inherits key in it. Returns None if the file cannot be read for any reason, if the file cannot be parsed, or if the Inherits key is omitted.

theme_search_paths

This function returns the list of paths where the themes have to be searched, according to the XDG Icon Theme specification.