3 testsuite = imports.testsuite
4 GObject = imports.gi.GObject
8 HelloWindow = new GType({
9 parent: Gtk.Window.type,
12 name: "randomproperty",
13 type: GObject.TYPE_BOOLEAN,
14 nick: "randomproperty",
15 blurb: "longer blurb about property",
17 flags: (GObject.ParamFlags.CONSTRUCT | GObject.ParamFlags.READABLE | GObject.ParamFlags.WRITABLE)}],
26 testsuite.assert(w.randomproperty == 1)
28 testsuite.assert(w.randomproperty == 1)
30 testsuite.assert(w.randomproperty == 0)