cola.resources – Resources

Provides the prefix() function for finding cola resources

cola.resources.doc(*args)

Return a path relative to cola’s /usr/share/doc/ directory

cola.resources.html_docs()

Return the path to the cola html documentation.

cola.resources.icon(basename)

Return the full path to an icon file given a basename.

cola.resources.prefix(*args)

Return a path relative to cola’s installation prefix

cola.resources.resource_dirs(path)

Returns directories beneath a specific path

cola.resources.share(*args)

Return a path relative to cola’s /usr/share/ directory

cola.resources.style_dir()

Return the path to the style dir within the cola install tree.

cola.resources.stylesheet(name)

Return a path relative to cola’s /usr/share/../styles directory

Previous topic

cola.inotify – inotify helpers

Next topic

cola.settings – Settings manager

This Page