Panel javascript interface lets you change hiding and containment locked flag but it has no effect. Code from my layout.js follows: // Create top panel with the clock for the primary screen var topPanel = new Panel; topPanel.screen = 0; topPanel.location = "top"; topPanel.hiding = "windowscover"; topPanel.height = 48; // units.iconSizes.medium topPanel.locked = true;
Git commit ee05d5aec817c31689d0d3b7defbcb547122c865 by Marco Martin. Committed on 10/10/2014 at 12:48. Pushed by mart into branch 'Plasma/5.1'. redeclare missing properties from Containment Unlike QML, in QtScript you have to redeclare all the Q_PROPERTIES of the superclass in all subclasses M +4 -0 shell/scripting/panel.h http://commits.kde.org/plasma-workspace/ee05d5aec817c31689d0d3b7defbcb547122c865