Ekaterina Gerasimova
kittykat3756@gmail.com 2013
Gordon Hill
caseyweederman@gmail.com 2013

This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.

As a special exception, the copyright holders give you permission to copy, modify, and distribute the example code contained in this document under the terms of your choosing, without restriction.

Finish the application and run the script.

# Run your application

# Get started with GNOME

Make the new object `app` and call the method `run` to run the application:

let app = new HelloWorld(); app.application.run(ARGV);

Save the script as helloworld.js, run chmod +x helloworld.js to mark it executable, and run it with ./helloworld.js.

Screenshot of a basic window.

This window is generated from the Glade file and linked to Gtk events. You now have a fully functional Gtk application!