src/Builder4/MainWindow.bjs
authorAlan Knowles <alan@roojs.com>
Tue, 2 Jun 2015 13:12:31 +0000 (21:12 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 2 Jun 2015 13:12:31 +0000 (21:12 +0800)
src/Builder4/MainWindow.vala

src/Builder4/MainWindow.bjs
src/Builder4/MainWindow.vala

index 6ac086c..d242bd7 100644 (file)
          "* init" : "var description =   Pango.FontDescription.from_string(\"monospace\");\n\tdescription.set_size(8000);\n\t this.el.override_font(description);\n\n",
          "* pack" : "pack_start,false,true,0",
          "xtype" : "Entry",
-         "$ xns" : "Gtk"
+         "$ xns" : "Gtk",
+         "| return_type XXXX" : "() {\n\n}\n"
         },
         {
          "* pack" : "pack_end,false,true,0",
index fedcdf2..aa2a538 100644 (file)
@@ -2378,6 +2378,9 @@ public class Xcls_MainWindow : Object
         }
 
         // user defined functions
+        public return_type XXXX () {
+        
+        }
     }
 
     public class Xcls_MenuBar70 : Object