Creating Plasma::Containments or Plasma::PopupApplets via the scripting api

Richard Dale richard.j.dale at gmail.com
Thu Apr 23 13:27:45 CEST 2009


On Wed, Apr 22, 2009 at 4:30 PM, Richard Dale <richard.j.dale at gmail.com> wrote:
> On Wed, Apr 22, 2009 at 3:59 PM, Aaron J. Seigo <aseigo at kde.org> wrote:
>> On Wednesday 22 April 2009, Richard Dale wrote:
>>> then a Plasma::Containment is created for the scripting applet.
>>
>> yes; not a well documented feature.
>>
>>> We were actually discussing Plasma::PopupApplet, and I wondered if a
>>> similar addition to the Applet::load() code, along with a
>>> 'Plasma/PopupApplet' ServiceTypes, could be added to handle those?
>>
>> absolutely.
> Please find a patch attached to add scripting PopupApplets then. I
> don't have a build environment for the kdelibs trunk at the moment and
> so I can't test it yet, but if anyone else could have a look at it and
> commit if ok, that would be great.
OK, I've got a version of kde 4.2 kdelibs to build and I've commit a
version of the patch that compiles to both the trunk and 4.2 branches.

Should we add Plasma::GLApplet as another scripting applet type for
completeness?

-- Richard


More information about the Plasma-devel mailing list