724f05febd12fab83cea8cde5d3efa9c6d67136d
[app.Builder.js] / tests / enum.vala
1 // compile
2 // valac   --pkg  gtk+-3.0  enum.vala   -o /tmp/enum
3 // ??--pkg javascriptcore \
4
5
6 int main (string[] args) {
7         Gtk.init(ref args);
8         var type = typeof(Gtk.Box);
9         var  ocl = (ObjectClass) type.class_ref ();
10         foreach (ParamSpec spec in ocl.list_properties ()) {
11                 stdout.printf ("%s\n", spec.get_name ());
12         }
13          
14         return 0;
15 }
16