Skip to content
This repository was archived by the owner on Jan 5, 2022. It is now read-only.
This repository was archived by the owner on Jan 5, 2022. It is now read-only.

GJS - GTK bindings for JS/TS #22

@orta

Description

@orta

What is a modern GJS app like? https://2017.guadec.org/wp-content/uploads/2017/06/Philip-Chimento-GUADEC-2017-Modern-Javascript-in-GNOME.pdf

GJS Repo: https://gitlab.gnome.org/GNOME/gjs/-/blob/master/doc/Home.md

Bootstrap a project:

Types:

Testing:

Tutorial:

Example code showing a window

#!/usr/bin/gjs

const Gtk = imports.gi.Gtk;
Gtk.init(null);

let win = new Gtk.Window();
win.connect("delete-event", Gtk.main_quit);
win.show_all();
Gtk.main();

Devs hang out in matrix somewhere.


Notes:

  • ElementaryOS does not come with gjs installed by default

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions