Displaying icon on panel in Python
Thomas Olsen
tanghus at gmail.com
Tue Jul 13 17:08:10 CEST 2010
On Tuesday 13 July 2010 15:13:22 Barış Akkurt wrote:
> Hi everyone,
>
> I am creating a plasmoid that controls the firewall (iptables) in Python.
> It has almost finished except one thing. I want my plasmoid to be
> transform into an icon, if i drag it to panel. I know how to do this in
> 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:
> http://websvn.kde.org/trunk/KDE/kdebinding/python/ There is a plasmoid
> written in Python here:
> http://svn.pardus.org.tr/uludag/trunk/kde/service-manager/plasmoid/ But the
> technique used in it is old.
> In addition to this, if anyone explains how to display a popupwindow when
> someone left clicks the plasmoid when it is on panel, i will be grateful. I
> also promise to write a document that expresses building a plasmoid and
> making it an icon on panel, after i understand the concept.
>
> Thanks, in advance.
I have a similar request on this list titled "Python Plasma.PopupApplet
revisited" from 5/7-2010 23:05.
http://mail.kde.org/pipermail/plasma-devel/2010-July/012288.html
--
Best Regards / Med venlig hilsen
Thomas Olsen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 230 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20100713/a662f7d8/attachment.sig
More information about the Plasma-devel
mailing list