The simplewindow code example doesn't compile with error:
valac --pkg gtk+-3.0 simplewindow.vala:6.27-6.32: error: The nameWindow' does not exist in the context of main' Gtk.Window window = new Window();
It does compile when Gtk.Window window = new Window(); changed to var window = new Gtk.Window ();
The simplewindow code example doesn't compile with error:
valac --pkg gtk+-3.0 simplewindow.vala:6.27-6.32: error: The name
Window' does not exist in the context ofmain' Gtk.Window window = new Window();
It does compile when
Gtk.Window window = new Window();
changed tovar window = new Gtk.Window ();