|
__init__(self,
path)
x.__init__(...) initializes x; see x.__class__.__doc__ for
signature |
source code
|
|
|
|
|
apply_option_overrides(self,
screenlet)
Apply this theme's overridden options to the given Screenlet. |
source code
|
|
|
check_entry(self,
filename)
Checks if a file with filename is loaded in this theme. |
source code
|
|
|
draw_text(self,
ctx,
text,
x,
y,
font,
size,
width,
allignment)
Draws text |
source code
|
|
|
draw_circle(self,
ctx,
x,
y,
width,
height,
fill=True)
Draws a circule |
source code
|
|
|
draw_line(self,
ctx,
start_x,
start_y,
end_x,
end_y,
line_width=1,
close=False,
preserve=False)
Draws a line |
source code
|
|
|
draw_rectangle(self,
ctx,
x,
y,
width,
height,
fill=True)
Draws a rectangle |
source code
|
|
|
draw_rounded_rectangle(self,
ctx,
x,
y,
rounded_angle,
width,
height,
fill=True)
Draws a rounded rectangle |
source code
|
|
|
show_notification(self,
text)
Show notification window at current mouse position. |
source code
|
|
|
hide_notification(self)
hide notification window |
source code
|
|
|
show_tooltip(self,
text,
tooltipx,
tooltipy)
Show tooltip window at current mouse position. |
source code
|
|
|
|
|
has_overrides(self)
Check if this theme contains overrides for options. |
source code
|
|
|
load_conf(self,
filename)
Load a config-file from this theme's dir and save vars in
list. |
source code
|
|
|
load_svg(self,
filename)
Load an SVG-file into this theme and reference it as ref_name. |
source code
|
|
|
load_png(self,
filename)
Load a PNG-file into this theme and reference it as ref_name. |
source code
|
|
|
|
|
reload(self)
Re-Load all files in the theme's path. |
source code
|
|
|
free(self)
Deletes the Theme's contents and frees all rsvg-handles. |
source code
|
|
|
render(self,
ctx,
name)
Render an image from within this theme to the given context. |
source code
|
|
Inherited from dict :
__cmp__ ,
__contains__ ,
__delitem__ ,
__eq__ ,
__ge__ ,
__getattribute__ ,
__getitem__ ,
__gt__ ,
__hash__ ,
__iter__ ,
__le__ ,
__len__ ,
__lt__ ,
__ne__ ,
__new__ ,
__repr__ ,
__setitem__ ,
clear ,
copy ,
fromkeys ,
get ,
has_key ,
items ,
iteritems ,
iterkeys ,
itervalues ,
keys ,
pop ,
popitem ,
setdefault ,
update ,
values
Inherited from object :
__delattr__ ,
__reduce__ ,
__reduce_ex__ ,
__setattr__ ,
__str__
|