src/Builder4/DialogPluginWebkit.bjs
authorAlan Knowles <alan@roojs.com>
Wed, 22 Apr 2015 07:23:17 +0000 (15:23 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 22 Apr 2015 07:23:17 +0000 (15:23 +0800)
src/Builder4/DialogPluginWebkit.vala

src/Builder4/DialogPluginWebkit.bjs
src/Builder4/DialogPluginWebkit.vala

index 1091086..3e114cc 100644 (file)
@@ -11,8 +11,8 @@
     "delete_event" : "(self, event) => {\n    this.el.hide();\n    return true; \n    //test  \n}\n "
    },
    "string tmpjs" : "",
-   "id" : "DialogPluginWebkit",
    "utf8 title" : "Add / Edit Component",
+   "id" : "DialogPluginWebkit",
    "gint default_height" : 500,
    "gboolean deletable" : true,
    "xtype" : "Dialog",
@@ -20,6 +20,7 @@
    "$ xns" : "Gtk",
    "gint default_width" : 500,
    "gboolean modal" : true,
+   "| return_type XXXX" : "() {\n\n}\n",
    "items" : [
     {
      "xtype" : "VBox",
@@ -29,8 +30,8 @@
      "items" : [
       {
        "* init" : "  this.el.set_policy(Gtk.PolicyType.AUTOMATIC, Gtk.PolicyType.AUTOMATIC);\n \n",
-       "* pack" : "pack_start,false,true,3",
        "xtype" : "ScrolledWindow",
+       "* pack" : "pack_start,false,true,3",
        "gboolean expand" : true,
        "$ xns" : "Gtk",
        "items" : [
     },
     {
      "label" : "Reload",
-     "xtype" : "Button",
      "* pack" : "add_action_widget,3",
+     "xtype" : "Button",
      "$ xns" : "Gtk"
     },
     {
      "label" : "Cancel",
-     "* pack" : "add_action_widget,0",
      "xtype" : "Button",
+     "* pack" : "add_action_widget,0",
      "$ xns" : "Gtk"
     },
     {
      "label" : "OK",
-     "xtype" : "Button",
      "* pack" : "add_action_widget,1",
+     "xtype" : "Button",
      "$ xns" : "Gtk"
     }
    ]
index 3fd4b11..664d4c9 100644 (file)
@@ -173,6 +173,9 @@ public class Xcls_DialogPluginWebkit : Object
         
         
         
+    }
+    public return_type XXXX () {
+    
     }
     public class Xcls_VBox2 : Object 
     {