Gnome 3 (Gnome Shell) JavaScript/CSS engine
Asked Answered
B

2

25

I am wondering, which type and version of JavaScript/CSS engines is Gnome 3 aka Gnome Shell using?

Is there any information about current version, etc?

Besides answered 26/4, 2011 at 21:46 Comment(0)
A
22

For JavaScript the engine GJS (based on SpiderMonkey). For theming, it is used a sort of superset of CSS2. You might be interested in reading the documentation of GtkCssProvider and the migration information.

On the other hand, there are some CSS3-like operations available, such as radial and linear gradients. You might want to take a look the article Styling GTK+ with CSS to get some ideas. The article was written by the developer who wrote GtkCssProvider.

Aviator answered 10/5, 2011 at 7:12 Comment(2)
Note that GNOME Shell uses mx to draw widgets. See more on live.gnome.org/GnomeShell/DevelopmentNewfashioned
Updated. Although, it would have been better to say which one :-)Aviator
M
2

The JavaScript engine is GJS. The CSS is, I believe, internal - in GTK 3, all theming is done using CSS.

Mew answered 27/4, 2011 at 8:26 Comment(1)
Thanks for the answer. I know that CSS is used for theming. However there is no information if it is CSS2/CSS3 or CSS10.Besides

© 2022 - 2024 — McMap. All rights reserved.