Just a quick update on what I've learned today.
There is a project called gjs or seed that allows you to call C library API's in other languages, in this case javascript. Looks like gnome 3 / cinnamon uses gjs.
So for example on line 179 of /usr/share/cinnamon/js/ui/windowManager.js we have
- Code: Select all
actor.move_anchor_point_from_gravity(Clutter.Gravity.CENTER);
and here is the C documention on that:
http://developer.gnome.org/clutter/1.8/ ... om-gravitySo GjS enchances javascript to allow it's use outside of a browser language.
Other sources: (these seem a bit dated)
http://townx.org/blog/elliot/introducti ... nd-clutterhttp://wiki.clutter-project.org/wiki/Ja ... ter_and_MxJust posting this here if other people ever have the same question.
I think this is the general breakdown:
Muffin - Window Manager - fork of Mutter
Cinnamon - Plugin for Muffin?
Cairo - 2D Drawing Library
Clutter - Creating GUI Elements (most applet development deals with clutter?)
Anyone want to pitch in the confirm/change this?