int main (string[] args) {
-
-
- stdout.printf ("%s\n", Type.from_name ("Gtk.Orientation.VERTICAL").name ());
-
+ Gtk.init(ref args);
+ var type = typeof(Gtk.Box);
+ var ocl = (ObjectClass) type.class_ref ();
+ var ps = ocl.find_property("orientation");
+ var vt = ps.value_type;
+ print("%s\n", vt.name());
+
return 0;
}