addWidget or createApplet in a new Panel?

Michail Vourlakos mvourlakos at gmail.com
Sun Aug 28 18:52:25 UTC 2016



On 28/08/2016 05:38 μμ, Michail Vourlakos wrote:
>
> Hello everyone,
>
>
> I have managed to create an alternative panel for Plasma, that behaves 
> to its applets in a plank-mac way. Just like the Now Dock plasmoid, 
> the Now Dock panel can grow its applets on hovering.
>
>
> But I have a small issue I think. I can not find a way in order by 
> default when the first time the panel is created to add a specific 
> plasmoid in it. In the qml code of the panel I tried,
>
> plasmoid.addWidget
>
> plasmoid.createApplet
>
>
> but these functions do not exist, is there any other way?
>
>
> regards,
>
> michail
>

I think I solved this...
I created a new layout (template-layout) for this panel.. My only 
problem is that I can not find an easy way to be installed by the user.
I found only the command *"plasmapkg -t layout-template -i"*
and I can not find an easier way to be installed by the user...

regards,
michail



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20160828/d1c3052d/attachment.html>


More information about the Plasma-devel mailing list