using GLib; class Foo : Object { string# field { set; } static int main (string[] args) { var foo = new Foo (); foo.field = "toto"; } }