__init__(self,
link_color="#0000ff",
foreground=None,
background=None,
resource_provider=None)
(Constructor)
| source code |
RichText.Renderer constructor.
-
- Parameters:
link_color - color to use with links. String with color name or in internet
format (3 pairs of RGB, in hexa, prefixed by #).
foreground - default foreground color. Same spec as link_color.
background - default background color. Same spec as link_color.
resource_provider - function to provide unresolved resources. If some image could
not be handled as a file, this function will be called and it
should return an gtk.gdk.Pixbuf. Since http://url.com/file will
always be unresolved, you may use this to provide remote file
access to this class.
|