On Thu, 2009-02-05 at 11:45 -0700, Linuxguy123 wrote:
I'd like to make a simple scrolling "banner" widget for
my KDE4
desktop.
I've read little blurbs about how KDE4 is now supposed to allow users to
write their own widgets easily using Python. So how do I do it ? Where
do I start ?
I know about python and pyQt. But how does one make it a widget ? Is
there a tutorial somewhere ?
A few more questions...
I'd like my banner to be frameless. Just scrolling text on my desktop.
It shouldn't doc in the taskbar. And I'd like it to handle right click
events.
Is this possible ?
I found this example.
http://techbase.kde.org/Development/Tutorials/Plasma/PythonPlasmoid
But when I run the code, I get the following:
Traceback (most recent call last):
File "/home/xxx/workspace/Py Banner/src/default/test.py", line 4, in
<module>
from PyKDE4.plasma import Plasma
ImportError: No module named plasma
$ yum list pykde4*
Loaded plugins: downloadonly, kmdl, priorities, refresh-packagekit
2 packages excluded due to repository priority protections
Installed Packages
PyKDE4.i386
4.1.4-1.fc10
installed
PyKDE4-devel.i386
4.1.4-1.fc10
installed
Thanks