NewBranch.bjs
[gitlive] / NewBranch.bjs
index 973bd46..7b28d30 100644 (file)
      "$ xns" : "Gtk",
      "items" : [
       {
+       "bool homogeneous" : false,
        "* pack" : "pack_start,false,false,0",
        "xtype" : "Table",
+       "uint column_spacing" : 2,
        "n_columns" : 2,
        "$ xns" : "Gtk",
        "n_rows" : 2,
-       "$ homogeneous" : true,
+       "int margin" : 2,
        "items" : [
         {
          "label" : "Select Ticket",
@@ -46,6 +48,9 @@
          "$ xns" : "Gtk"
         },
         {
+         "listeners" : {
+          "changed" : "() => {\n\tGtk.TreeIter iter;\n\tValue val1;\n\tValue val2;\n \n\tthis.el.get_active_iter (out iter);\n\t_this.dbmodel.el.get_value (iter, 0, out val1);\n\t_this.dbmodel.el.get_value (iter, 1, out val2);\n\n\tGLib.debug (\"Selection: %s, %d\\n\", (string) val1, (string) val2);\n}"
+         },
          "id" : "build_module",
          "* init" : "this.el.add_attribute(_this.dbcellrenderer.el , \"markup\", 1 );",
          "* pack" : "attach_defaults,1,2,0,1",