Widgets resources
Type of resources.
get key resources
returns the key associated to the last
pattern that matches key
in resources
, or the empty string
if no pattern matches key
.
Exception raised when the contents of a resource is invalid.
get_bool name resources
reads the boolean encoded in
resources
.
get_color name resources
reads the color encoded in
resources
.
get_style prefix resources
reads the style encoded in
resources
.
Parse_error(source, line, msg)
is raised when a parsing error
is encountered in the input.
parse str
parses a string for a list of properties. str
must
follow the format of X resources files. i.e. comments start with a
!
, empty lines are ignored, and configuration lines looks-like:
key: value
The home directory.