
| The Following 2 Users Say Thank You to P@t For This Useful Post: | ||
| The Following User Says Thank You to Hootenholler For This Useful Post: | ||
| The Following 2 Users Say Thank You to Wonko For This Useful Post: | ||
dpkg -r advanced-clock-plugin dpkg -r advanced-clock-plugin-settings-ui
apt-get install advanced-clock-plugin
image = "/usr/share/icons/blender.png" #replace with path
surface = cairo.ImageSurface.create_from_png(image)
pattern = cairo.SurfacePattern(surface)
matrix = cairo.Matrix(x0=-x, y0=-y) #where (x,y) is the
#upper-left coordinates
#of the image
pattern.set_matrix(matrix)
cr.set_source(pattern) #replace cr with the name
#of the cairo context
| The Following 2 Users Say Thank You to skykooler For This Useful Post: | ||
| The Following User Says Thank You to Hootenholler For This Useful Post: | ||
will fiddle around a bit and see if can get it to display an image instead.
will fiddle around a bit and see if can get it to display an image instead.
| The Following 3 Users Say Thank You to Mentalist Traceur For This Useful Post: | ||
| The Following User Says Thank You to skykooler For This Useful Post: | ||