Re: Main.chrome.addActor to the desktop level
- From: "Jasper St. Pierre" <jstpierre mecheye net>
- To: Erick Pérez <erick red gmail com>
- Cc: gnome-shell-list gnome org
- Subject: Re: Main.chrome.addActor to the desktop level
- Date: Sun, 8 May 2011 12:26:18 -0400
Whoops... the JS side for the first would be more complicated than that (hit send too soon).
let old_background = Meta.get_background_actor_for_screen(global.screen);
let new_background = new Clutter.Container();
new_background.add_actor(rainmeter);
// You'd probably make set_background_actor remove the background actor from its children.
Meta.set_background_actor_for_screen(global.screen, new_background);
new_background.add_actor(old_background);
old_background.lower_bottom();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]