--===============1780430507== Content-Type: multipart/signed; boundary="nextPart2039191.qXtfzEzPui"; protocol="application/pgp-signature"; micalg=pgp-sha256 Content-Transfer-Encoding: 7bit --nextPart2039191.qXtfzEzPui Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Tuesday 13 July 2010 15:11:34 Bar=C4=B1=C5=9F Akkurt wrote: > Hi everyone, >=20 > 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 t= he > 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. >=20 > Thanks, in advance. I filed a bug about it https://bugs.kde.org/show_bug.cgi?id=3D244667 There's also a minimal test case attached. Feel free to vote for the bug. =2D-=20 Best Regards / Med venlig hilsen Thomas Olsen --nextPart2039191.qXtfzEzPui Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iF4EABEIAAYFAkxFltAACgkQge+YkdGJAWiBwQEA1+8XdXtrR4qAQVXiPQ508/8O b0wFSUzpSVd1ihDpSHAA/0NkcBwhRfDsRbjKr1IpA9ZnXiLcZ+oiwz0+/Gd95Pp7 =8Hs3 -----END PGP SIGNATURE----- --nextPart2039191.qXtfzEzPui-- --===============1780430507== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel --===============1780430507==--