[PATCH] Support for PopupApplets in Python

Luca Beltrame einar at heavensinferno.net
Sat Feb 20 23:38:55 CET 2010


Hello,

as I said, I've been trying to hack in support for PopupApplets in Python. 
This patch is a first version of such a thing, which at least enables the 
proper binding when used scripted applets.

It needs some review, as I'm unfamiliar on how PopupApplets work, and if I'm 
doing the right thing (still new at these things), especially the Python 
bindings people (Simon, which is CCed here).  The initializing code is a cut 
and copy paste from Applet, just modified to accept extra arguments.

It works, or seems to work. I haven't been able to test it for real as there 
is no clean, simple PopupApplet implementation which I could use as reference.

In any case, comments welcome.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: python_popupapplet.patch
Type: text/x-patch
Size: 746 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20100220/c2c5cb98/attachment.patch 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20100220/c2c5cb98/attachment.sig 


More information about the Plasma-devel mailing list