Builder4/ClutterFiles.bjs
authorAlan Knowles <alan@roojs.com>
Wed, 25 Jun 2014 16:02:05 +0000 (00:02 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 25 Jun 2014 16:02:05 +0000 (00:02 +0800)
Builder4/ClutterFiles.js
Builder4/ClutterFiles.vala

Builder4/ClutterFiles.bjs
Builder4/ClutterFiles.js
Builder4/ClutterFiles.vala

index c9f6c0c..948a358 100644 (file)
@@ -7,6 +7,7 @@
     "items": [
         {
             "id": "ClutterFiles",
+            "reactive": "true",
             "scroll_mode": "Clutter.ScrollMode.VERTICAL",
             "xtype": "ScrollActor",
             "|void:set_size": "(float w, float h) {\n    _this.filelayout_manager.el.max_column_width = w - 150;\n   this.el.set_size(this.el.get_stage().width-150,\n                        this.el.get_stage().height);\n            this.el.set_position(100,50);\n}\n",
index a8f5967..9257136 100644 (file)
@@ -12,6 +12,7 @@ XObject = imports.XObject.XObject;
 ClutterFiles=new XObject({
     xtype: Clutter.ScrollActor,
     id : "ClutterFiles",
+    reactive : "true",
     scroll_mode : "Clutter.ScrollMode.VERTICAL",
     'void:set_size' : (float w, float h) {
         _this.filelayout_manager.el.max_column_width = w - 150;
index 971b748..2e68467 100644 (file)
@@ -37,6 +37,7 @@ public class Xcls_ClutterFiles : Object
         // my vars
 
         // set gobject values
+        this.el.reactive = "true";
         var child_0 = new Xcls_filelayout( _this );
         child_0.ref();
         this.el.add_child (  child_0.el  );