How to retrieve location from plasmoid
Marco Martin
notmart at gmail.com
Tue Aug 23 09:44:43 UTC 2011
On Tuesday 23 August 2011, Onur-Hayri Bakici wrote:
> > On Tuesday, August 23, 2011 10:35:18 Onur-Hayri Bakici wrote:
> > > is there any way to get the x,y position of plasmoids using javascript?
> >
> > You mean on the screen? No, by design it's not possible.
> >
> > What do you want to achieve?
>
> I want to let a PlasmaCore.Dialog to appear underneath the applet. I use
> QML. For the right position I need the x,y coordinates.
use the popupposition method of PlasmaCore.Dialog
never never ever try to calculate this kind of stuff by hand
--
Marco Martin
More information about the Plasma-devel
mailing list