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

2009-04-24 Thread Richard Dale
On Thu, Apr 23, 2009 at 9:56 PM, Aaron J. Seigo wrote: > On Thursday 23 April 2009, Richard Dale wrote: >> There are gl bindings for Ruby which work well with the Qt GL* >> classes, and I would think python has some. >> >> I need to add a new servicetype for the new PopupApplet and so I've >> got

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

2009-04-23 Thread Aaron J. Seigo
On Thursday 23 April 2009, Richard Dale wrote: > There are gl bindings for Ruby which work well with the Qt GL* > classes, and I would think python has some. > > I need to add a new servicetype for the new PopupApplet and so I've > got a file called plasma-applet-popupapplet.desktop containing this

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

2009-04-23 Thread Richard Dale
On Thu, Apr 23, 2009 at 5:07 PM, Aaron J. Seigo wrote: > On Thursday 23 April 2009, Richard Dale wrote: >> On Wed, Apr 22, 2009 at 4:30 PM, Richard Dale > wrote: >> > On Wed, Apr 22, 2009 at 3:59 PM, Aaron J. Seigo wrote: >> >> On Wednesday 22 April 2009, Richard Dale wrote: >> >>> then a Plasma

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

2009-04-23 Thread Aaron J. Seigo
On Thursday 23 April 2009, Richard Dale wrote: > On Wed, Apr 22, 2009 at 4:30 PM, Richard Dale wrote: > > On Wed, Apr 22, 2009 at 3:59 PM, Aaron J. Seigo wrote: > >> On Wednesday 22 April 2009, Richard Dale wrote: > >>> then a Plasma::Containment is created for the scripting applet. > >> > >> ye

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

2009-04-23 Thread Richard Dale
On Wed, Apr 22, 2009 at 4:30 PM, Richard Dale wrote: > On Wed, Apr 22, 2009 at 3:59 PM, Aaron J. Seigo 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 di

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

2009-04-22 Thread Richard Dale
On Wed, Apr 22, 2009 at 3:59 PM, Aaron J. Seigo 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 a

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

2009-04-22 Thread Aaron J. Seigo
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/PopupA

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

2009-04-22 Thread Richard Dale
We've just been discussing scripting applets on #plasma irc channel, and I said that I didn't think it was possible to create types of applets other than Plasma::Applet. Then I went and had a look at the code in plasma/applet.cpp to confirm, and found this: if (!offer->property("X-Plasma-API")