seed r662 - trunk/tests/javascript
- From: racarr svn gnome org
- To: svn-commits-list gnome org
- Subject: seed r662 - trunk/tests/javascript
- Date: Mon, 5 Jan 2009 11:06:05 +0000 (UTC)
Author: racarr
Date: Mon Jan 5 11:06:05 2009
New Revision: 662
URL: http://svn.gnome.org/viewvc/seed?rev=662&view=rev
Log:
Add support for GType arrays.
Added:
trunk/tests/javascript/array-gtype.js (contents, props changed)
Added: trunk/tests/javascript/array-gtype.js
==============================================================================
--- (empty file)
+++ trunk/tests/javascript/array-gtype.js Mon Jan 5 11:06:05 2009
@@ -0,0 +1,12 @@
+#!/usr/bin/env seed
+// Returns: 0
+// STDIN:
+// STDOUT:
+// STDERR:
+Seed.import_namespace("Gtk");
+Seed.import_namespace("GObject");
+
+Gtk.init(null, null);
+
+list = new Gtk.ListStore();
+list.set_column_types(2, [GObject.TYPE_STRING, GObject.TYPE_INT]);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]