Window thumbnail and Javascript

Marco Martin notmart at gmail.com
Thu Dec 30 19:18:55 CET 2010


On Thursday 30 December 2010, Aaron J. Seigo wrote:

> that could bring window thumbnails in tooltips at least. as for general
> thumbnails, that sounds like something much more suited for a DataEngine or
> a Service. the biggest problem with that is it requires a top level window
> id (e.g.a Plasma::View or even a regular QWidget) and a region inside of
> it. i'm not keen on exposing that to the Javascript API, but it should be
> possible to go from a geometry in the plasmoid's coords to a set of global
> coords in a top level view. still, i don't think this belongs in the
> actual JS API as its far too specific to a given use case. a plugin
> approach, via DataEngine and/or Service, seems more sensible.

yeah, exposing ability to mess with window ids is someting i would really, 
really avoid in js bindings ;)

Cheers, 
Marco Martin


More information about the Plasma-devel mailing list