Displaying icon on panel in Python

Aaron J. Seigo aseigo at kde.org
Tue Jul 13 21:53:53 CEST 2010

On July 13, 2010, Barış Akkurt wrote:
> C++. I must inherit from Plasma::PopupApplet instead of Plasma::Applet but
> i need to learn how to do it in Python and i have no idea. Unfortunately,
> i couldn't find any Python example here:

in your .desktop file you put this:


this makes your widget a PopupApplet when it is created. you should then be 
able to implement the graphicsWidget() method (assuming the python binding are 
all complete; i don't know if they are as i don't use them, but i imagine they 
should be).

Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Development Frameworks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20100713/c77635c4/attachment.sig 

More information about the Plasma-devel mailing list