But once you wrote some small programs, using our examples as template, you will find a meanwhile quite huge collection of other examples: those from Vala.
A genie program has a simpler syntax.
So it is pretty easy, to "translate" vala code to genie.
This is especially valid for Gtk based examples.
Both languages use external libraries, and their call are almost identical.
Vala
Code: Select all
if ( a == 10){
window.set_title("test");
}
Code: Select all
if a is 10
window.set_title("test")
I currently collect small examples, and will upload them in 3 weeks or so, after I cleaned them up.
It will be a collection of those posted in this thread, and maybe some simple others.
They can be browsed using a treeview, and you then can run them, or open them in the Vala-Ide.
But first I need to clean them, as especially my first Glade examples were too complicated, they can be simplified like the last ones.
Mark