"xtype": "ScrollActor",
"|reactive": "true",
"|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",
- "|void:show": "(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.filelayout.el.remove_all_children();\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: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.filelayout.el.remove_all_children();\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",
"|xns": "Clutter",
"items": [
{
this.el.get_stage().height);
this.el.set_position(100,50);
},
- 'void:show' : (Project.Project pr) {
+ 'void:loadProject' : (Project.Project pr) {
// list all the files, and create new Xcls_fileitem for each one.
// LEAK --- we should unref all the chilren...
this.el.get_stage().height);
this.el.set_position(100,50);
}
- public void show(Project.Project pr) {
+ public void loadProject(Project.Project pr) {
// list all the files, and create new Xcls_fileitem for each one.
// LEAK --- we should unref all the chilren...