5 "path" : "/home/alan/gitlive/app.Builder.js/Builder4/GtkView.bjs",
11 "| void createThumb" : "() {\n \n \n if (this.file == null) {\n return;\n }\n var filename = this.file.getIconFileName(false);\n \n var win = this.el.get_parent_window();\n var width = win.get_width();\n var height = win.get_height();\n\n Gdk.Pixbuf screenshot = Gdk.pixbuf_get_from_window(win, 0, 0, width, height); // this.el.position?\n\n screenshot.save(filename,\"png\");\n return;\n \n \n \n \n \n \n \n // should we hold until it's printed...\n \n \n\n \n \n\n\n \n \n}\n",
12 "# Gtk.Widget lastObj" : "null",
13 "| void loadFile" : "(JsRender.JsRender file) \n{\n \n this.el.set_position((int)(this.el.max_position * 0.7));\n this.file = null;\n \n if (file.tree == null) {\n return;\n }\n this.file = file;\n if (this.lastObj != null) {\n this.container.el.remove(this.lastObj);\n }\n \n\tvar x = new JsRender.NodeToGtk(file.tree);\n var obj = x.munge() as Gtk.Widget;\n this.lastObj = null;\n\tif (obj == null) {\n \treturn;\n\t}\n\tthis.lastObj = obj;\n \n this.container.el.add(obj);\n obj.show_all();\n}\n ",
15 "# JsRender.JsRender file" : "null",
33 "xtype" : "ScrolledWindow",
42 "* pack" : "pack_start,false,false,0",
47 "* pack" : "pack_start,true,true,0",
50 "utf8 label" : "Compile"
55 "* pack" : "pack_start,true,true,0",
57 "gboolean homogeneous" : true,
67 "columns" : " typeof(string)",
68 "* pack" : "set_model",
69 "xtype" : "ListStore",
73 "utf8 title" : "Compile output",
74 "xtype" : "TreeViewColumn",
75 "string id" : "column",
79 "* pack" : "pack_start,false",
80 "xtype" : "CellRendererText",
88 "* pack" : "pack_start,true,true,0",
89 "xtype" : "ScrolledWindow",
93 "gboolean show_line_marks" : true,
96 "$ xns" : "GtkSource",
97 "gboolean show_line_numbers" : true,
98 "gboolean editable" : false