Integrating with the shell

Add elements to the UI

In order to add UI elements besides the panel use, params), where actor is the actor of the UI you wish to add and params are parameters describing how to track an actor.

Valid parameters are:
visibleInOverview - default false.
visibleInFullscreen - default false.
affectsStruts - default true. Window manager struts - e.g. if maximized windows should cover the actor. Only has effect if actor touches a screen edge.
affectsInputRegion - default true. Should the actor receive input?


let myActor = null;

function main() {
    myActor = new MyUIElement();, { visibleInOverview: false });

Projects/GnomeShell/Extensions/FAQ/IntegratingWithShell (last edited 2013-11-22 17:00:01 by WilliamJonMcCann)