[PATCH] Support for PopupApplets in Python

Aaron J. Seigo aseigo at kde.org
Sun Feb 28 21:59:54 CET 2010


On February 28, 2010, Simon Edwards wrote:
> If I remember correctly, (it has been a while since I've looked), the
> Python code doesn't create the instance of the Applet itself. Plasma
> does this by itself, but the plasmoid developer has to provide their own
> AppletScript object which acts a proxy. There is no PopupAppletScript in
> plasma libs. So I guess the needed code exists already in libplasma in
> the related scripting classes.

yes, the ScriptEngine gets handed a Plasma::PopupApplet (for example); it's 
still up to the ScriptEngine to proxy the desired API from PopupApplet, though 
depending on how the ScriptEngine works, this may happen automatically :)

-- 
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


More information about the Plasma-devel mailing list