src/Builder4/WindowRooView.bjs
authorAlan Knowles <alan@roojs.com>
Wed, 3 Jun 2015 03:45:39 +0000 (11:45 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 3 Jun 2015 03:45:39 +0000 (11:45 +0800)
src/Builder4/WindowRooView.vala

src/Builder4/WindowRooView.bjs
src/Builder4/WindowRooView.vala

index df44c63..f61c13b 100644 (file)
@@ -21,6 +21,7 @@
    "Gtk.SourceSearchContext searchcontext" : "",
    "# JsRender.JsRender file" : "null",
    "int height" : 0,
+   "| void requestRedraw" : "() {\n    this.view.renderJS(false);\n}",
    "$ xns" : "Gtk",
    "Gtk.Orientation orientation" : "Gtk.Orientation.VERTICAL",
    "# Xcls_MainWindow main_window" : "",
index c46eed1..628cc1b 100644 (file)
@@ -121,6 +121,9 @@ public class Xcls_WindowRooView : Object
        return this.searchcontext.get_occurrences_count();
     
        
+    }
+    public void requestRedraw () {
+        this.view.renderJS(false);
     }
     public void forwardSearch () {