View Single Post
Posts: 482 | Thanked: 550 times | Joined on Oct 2010
#319
Originally Posted by Wonko View Post
Maybe using "pure" pygtk and animated gifs could be an option to achieve some animation?
http://faq.pygtk.org/index.py?req=sh...=faq23.037.htp
Limitation would be of course that the length of the animation must be less than one second.
Edit: and you would need to take care its only played once.

Also, I don't know how much performance something like this would need.
But I guess this would be something one needs to have a look at as well.
That would require the plugin to call the window object itself, which seems outside of its scope. What I would like to be able to do is add
Code:
import advanced-clock-plugin
or whatever to the imports and then just call
Code:
advanced-clock-plugin.redraw()
or whatever the method is called when I need to. But I would need that method to be in place. Perhaps I could just call the method you are using to draw the clock? But it seems as though that could run into some issues with infinite loops, which is why I would prefer a separate method if possible.
 

The Following User Says Thank You to skykooler For This Useful Post: