Builder4/ClutterFiles.js
Builder4/ClutterFiles.vala
"|void:loadProject": "(Project.Project pr) {\n // list all the files, and create new Xcls_fileitem for each one.\n \n // LEAK --- we should unref all the chilren...\n this.clearFiles();\n \n print(\"clutter files - load project: \" + pr.name +\"\\n\");\n var fiter = pr.files.map_iterator();\n while (fiter.next()) {\n var a = new Xcls_fileitem(this,fiter.get_value());\n a.ref();\n print(\"add to clutter file view: \" + fiter.get_value().name + \"\\n\");\n this.filelayout.el.add_child(a.el);\n }\n this.el.show_all();\n}\n",
"|void:set_size": "(float w, float h) \n{\n if (this.el == null) {\n print(\"object not ready yet?\");\n return;\n }\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",
"|xns": "Clutter",
+ "|": "function() {\n \n}\n",
+ "listeners": {},
"items": [
{
"id": "filelayout",
this.el.set_size(this.el.get_stage().width-150,
this.el.get_stage().height);
this.el.set_position(100,50);
+ },
+ : function() {
+
},
items : [
{
var child_0 = new Xcls_filelayout( _this );
child_0.ref();
this.el.add_child ( child_0.el );
+
+ // listeners
}
// userdefined functions
}
// skip |xns - no return type
+
+ // skip | - no return type
public class Xcls_filelayout : Object
{
public Clutter.Actor el;