resources/RooUsage.txt
[app.Builder.js] / src / Builder4 / EditProject.bjs
index bd4fe08..b55233e 100644 (file)
@@ -5,11 +5,11 @@
  "path" : "/home/alan/gitlive/app.Builder.js/src/Builder4/EditProject.bjs",
  "permname" : "",
  "modOrder" : "",
- "build_module" : "",
+ "build_module" : "builder",
  "items" : [
   {
    "listeners" : {
-    "destroy_event" : " (self, event) => {\n  this.el.response(0);\n//     this.el.hide();\n    return false;\n}"
+    "destroy_event" : "(self, event) => {\n\tthis.el.response(0);\n//     this.el.hide();\n    return false;\n}"
    },
    "default_width" : 600,
    "$ deletable" : true,
    "name" : "EditProject",
    "items" : [
     {
+     "bool expand" : true,
+     "xtype" : "Box",
      "$ pack" : " get_content_area().add \n \n",
-     "xtype" : "VBox",
      "$ xns" : "Gtk",
+     "Gtk.Orientation orientation" : "Gtk.Orientation.VERTICAL",
      "$ homogeneous" : false,
      "items" : [
       {
-       "xtype" : "HBox",
+       "xtype" : "Box",
        "* pack" : "pack_start,false,true,3",
        "$ xns" : "Gtk",
+       "Gtk.Orientation orientation" : "Gtk.Orientation.HORIZONTAL",
        "$ homogeneous" : false,
        "items" : [
         {
          "label" : "Project type :",
-         "* pack" : "pack_start,false,true,3",
          "xtype" : "Label",
+         "* pack" : "pack_start,false,true,3",
          "$ xns" : "Gtk"
         },
         {
          "| string getValue" : " () {\n     var ix = this.el.get_active();\n        if (ix < 0 ) {\n            return \"\";\n        }\n        switch(ix) {\n            case 0:\n                return \"Roo\";\n            case 1:\n                return \"Gtk\";\n        }\n        return \"\";\n}\n",
          "id" : "xtype",
-         "| setValue" : " (v)    {\n        var el = this.el;\n        el.set_active(-1);\n        \n        for (var i =0;i < this.data.length; i++ ) {\n            if (v == this.data.nth_datA(i)) {\n                el.set_active(ix);\n                return false;\n            }\n        }\n    }",
-         "* init" : " this.el.add_attribute(_this.cellrender.el , \"markup\", 1 );  \n \n",
+         "* init" : " this.el.add_attribute(_this.cellrender.el , \"markup\", 1 );  \n  ",
          "xtype" : "ComboBox",
          "* pack" : "pack_end,true,true,3",
          "$ xns" : "Gtk",
          "items" : [
           {
            "id" : "cellrender",
-           "xtype" : "CellRendererText",
            "* pack" : "pack_start,true",
+           "xtype" : "CellRendererText",
            "$ xns" : "Gtk"
           },
           {
            "id" : "model",
-           "* pack" : "set_model",
            "xtype" : "ListStore",
+           "* pack" : "set_model",
            "$ columns" : "typeof(string),typeof(string)",
            "n_columns" : 2,
            "$ xns" : "Gtk",
@@ -72,6 +74,7 @@
        "$ create_folders" : false,
        "id" : "dir",
        "$ action" : "Gtk.FileChooserAction.SELECT_FOLDER",
+       "bool expand" : true,
        "* pack" : "pack_end,true,true,5",
        "xtype" : "FileChooserWidget",
        "$ xns" : "Gtk",
     },
     {
      "label" : "OK",
-     "xtype" : "Button",
      "* pack" : "add_action_widget,1",
+     "xtype" : "Button",
      "$ xns" : "Gtk"
     },
     {
      "label" : "Cancel",
-     "* pack" : "add_action_widget,0",
      "xtype" : "Button",
+     "* pack" : "add_action_widget,0",
      "$ xns" : "Gtk"
     }
    ]