src/Builder4/ClutterFiles.bjs
authorAlan Knowles <alan@roojs.com>
Sun, 24 May 2015 08:27:37 +0000 (16:27 +0800)
committerAlan Knowles <alan@roojs.com>
Sun, 24 May 2015 08:27:37 +0000 (16:27 +0800)
src/Builder4/ClutterFiles.vala

src/Builder4/ClutterFiles.bjs
src/Builder4/ClutterFiles.vala

index d2dc859..77d71c8 100644 (file)
            "* ctor" : "new Clutter.Text.full(\"Sans 10px\", GLib.Path.get_basename(filepath),  Clutter.Color.from_string(\"#fff\"))",
            "* args" : "string filepath",
            "id" : "*folderfile",
+           "* init" : "{\n\n}\n",
            "$ x_expand" : true,
            "* pack" : "add_child",
            "xtype" : "Text",
index dce3d61..cc0eec5 100644 (file)
@@ -710,6 +710,12 @@ public class Xcls_ClutterFiles : Object
             this.el.y_align = Clutter.ActorAlign.START;
             this.el.y_expand = true;
 
+            // init method
+
+            {
+            
+            }
+
             //listeners
             this.el.button_press_event.connect( (  event) => {
                // _this.open(this.filepath);