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

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

index 3e114cc..51fdeb8 100644 (file)
@@ -13,6 +13,7 @@
    "string tmpjs" : "",
    "utf8 title" : "Add / Edit Component",
    "id" : "DialogPluginWebkit",
+   "| boolean has_plugin" : "() {\n\n}\n",
    "gint default_height" : 500,
    "gboolean deletable" : true,
    "xtype" : "Dialog",
@@ -20,7 +21,6 @@
    "$ xns" : "Gtk",
    "gint default_width" : 500,
    "gboolean modal" : true,
-   "| return_type XXXX" : "() {\n\n}\n",
    "items" : [
     {
      "xtype" : "VBox",
index 664d4c9..5870f30 100644 (file)
@@ -53,6 +53,9 @@ public class Xcls_DialogPluginWebkit : Object
     }
 
     // user defined functions 
+    public boolean has_plugin () {
+    
+    }
     public string show (Gtk.Window ?parent, string text) {// JsRender.Node node) {
      
         if (parent  != null) {
@@ -173,9 +176,6 @@ public class Xcls_DialogPluginWebkit : Object
         
         
         
-    }
-    public return_type XXXX () {
-    
     }
     public class Xcls_VBox2 : Object 
     {