cola.resources – Resources
Provides the prefix() function for finding cola resources
-
cola.resources.doc(*args)
- Returns a path relative to cola’s /usr/share/doc/ directory
-
cola.resources.html_docs()
- Returns the path to the cola html documentation.
-
cola.resources.icon(basename)
- Returns the full path to an icon file given a basename.
-
cola.resources.prefix(*args)
- Returns a path relative to cola’s installation prefix
-
cola.resources.qm(name)
- Returns the path to a qm file given its name
-
cola.resources.resource_dirs(path)
- Returns directories beneath a specific path
-
cola.resources.share(*args)
- Returns a path relative to cola’s /usr/share/ directory
-
cola.resources.style_dir()
- Returns the path to the style dir within the cola install tree.
-
cola.resources.stylesheet(name)
- Returns a path relative to cola’s /usr/share/../styles directory