after trying to install the gedit editor - and giving up after finding one missing library and then failing to find the other
I instead installed medit (in the v4 puppy package manager list)
or Aragon has compiled the latest version here
http://murga-linux.com/puppy/viewtopic. ... 467#272389
that seems OK and supports Vala - I have written to the developer about Genie support
Barry mentions this on his genie page
Limited editor/IDE support
That will improve pretty quickly I think. I whipped up basic color syntax highlighting for the Medit text editor
Has that been sent to the developers I wonder?
Very nice editor - immediately felt at home
Still have not installed Valide (too dangerous)
but am keen to get GTK running
Code: Select all
[indent=4]
/* GTK+ Genie Sample Code - compile with valac --pkg gtk+-2.0 hello-gtk.gs */
uses
Gtk
init
Gtk.init (ref args)
var test = new TestWindow ()
test.show_all ()
Gtk.main ();
class TestWindow : Window
init
title = "Test Window"
default_height = 250
default_width = 250
window_position = WindowPosition.CENTER
destroy += Gtk.main_quit
var button = new Button.with_label ("Click Me")
button.clicked += def (btn)
title = "Hello World"
btn.label = "Hello World"
add (button)
which is giving me this misinformation
probably nothing to do with Arthur Dent . . .
Code: Select all
# valac v15_gtk_test.gs
v15_gtk_test.gs:22.15-22.14: error: syntax error, expected line end or semicolon but got `dedent'
add (button)
Compilation failed: 1 error(s), 0 warning(s)
#