Search code examples
javascriptshellgnome

Gnome javascript documentation


I'm trying to dive into Gnome shell extensions development but I'm a little bit confused at the moment. I can't seem to find a proper documentation about GJS library. For example I want to know at least what imports are available and members/method of classes without that I can only rely on existing extensions code, not too much.

Can anyone lead me in the right direction?

Thanks in advance.


Solution

  • To start writing GNOME Shell Extensions, I would recommend you to start looking the Shell Extensions wiki page. There you will find links to tutorials, as well as guidelines.

    With respect to modules available, you have everything that is available via GObject Instrospection. In order to get familiar with this, you can take a look the explained demos. For API docuementation, you can go to Platform Overview.