[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-panel-devel
Subject: Re: Displaying icon on panel in Python
From: "Aaron J. Seigo" <aseigo () kde ! org>
Date: 2010-07-13 19:53:53
Message-ID: 201007131253.54117.aseigo () kde ! org
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
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:
ServiceTypes=Plasma/Applet,Plasma/PopupApplet
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
["signature.asc" (application/pgp-signature)]
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic