[PATCH] Support for PopupApplets in Python

Simon Edwards simon at simonzone.com
Sat Feb 27 12:20:37 CET 2010


Hello,

Luca Beltrame wrote:
> 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.

Luca, do you have a simple example of a PopupApplet that I can look at 
and test with?

cheers,

-- 
Simon Edwards             | KDE-NL, Guidance tools, Guarddog Firewall
simon at simonzone.com       | http://www.simonzone.com/software/
Nijmegen, The Netherlands | "ZooTV? You made the right choice."


More information about the Plasma-devel mailing list