Hi, I'm new to plasmoid development. I'm trying to learn how to write a QML plasmoid, but I encountered a little difficulty with the use of global plasmoid object.
This is my simple test code: import QtQuick 1.0 import org.kde.plasma.core 0.1 as PlasmaCore import org.kde.plasma.components 0.1 as PlasmaComponents PlasmaComponents.Label{ id: labelTest text:"Test" Component.onCompleted:{ plasmoid.addEventListener("sizeChanged", sizeChanged); } function sizeChanged(){ print("sizeChanged listener"); } } Running with plasmoidviewer, when I resize the plasmoid nothing is printed. What's wrong? -- Andrea Vinci _______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel