Thursday, 16 February 2012

Seed Programming - Linux Shell Based Development using Javscript

http://en.wikipedia.org/wiki/Seed_(programming)

http://live.gnome.org/Seed
What is seed Programming
sudo apt-get install seed

A program using GTK+

This code shows an empty window named "Example".
#!/usr/bin/env seed
 
Gtk = imports.gi.Gtk;
Gtk.init(Seed.argv);
 
var window = new Gtk.Window({title: "Example"});
 
window.signal.hide.connect(Gtk.main_quit);
window.show_all();
 
Gtk.main();

No comments:

Post a Comment