var data = JSON.parse(JSON.stringify(this.items[0]));
// we should base this on the objects in the tree really..
var i = [ 'Gtk', 'Gdk', 'Pango', 'GLib', 'Gio', 'GObject',
- 'GtkSource', 'WebKit', 'Vte' , 'GtkClutter' , 'Gdl'];
+ 'GtkSource', 'WebKit', 'Vte' ]; //, 'GtkClutter' , 'Gdl'];
var src = "";
i.forEach(function(e) {
src += e+" = imports.gi." + e +";\n";
return 'http://devel.akbkhome.com/seed/' + cls + '.html';
}
- });
\ No newline at end of file
+ });
for (var i in this.paths) {
return GLib.basename(i);
}
+ return '';
},
toTree : function()
//if (this.tree) {
// return this.tree;
//}
-
+ //console.dump(this.files);
this.tree = [];
/*
for (var f in this.files) {
right:
Roo.LayoutRegion
+// toolbar at the right of the tabs.
+
+left:
+ Roo.LayoutRegion:toolbar
+right:
+ Roo.Toolbar
+
+
// add with region? region=
left:
GtkSource = imports.gi.GtkSource;
WebKit = imports.gi.WebKit;
Vte = imports.gi.Vte;
+<<<<<<< HEAD
//GtkClutter = imports.gi.GtkClutter;
//Gdl = imports.gi.Gdl;
+=======
+>>>>>>> 3b915ee311c6c2f49cc4f64e158b8f1c6fc7de4b
console = imports.console;
XObject = imports.XObject.XObject;
About=new XObject({
GtkSource = imports.gi.GtkSource;
WebKit = imports.gi.WebKit;
Vte = imports.gi.Vte;
+<<<<<<< HEAD
//GtkClutter = imports.gi.GtkClutter;
+=======
+>>>>>>> 3b915ee311c6c2f49cc4f64e158b8f1c6fc7de4b
console = imports.console;
XObject = imports.XObject.XObject;
Editor=new XObject({
GtkSource = imports.gi.GtkSource;
WebKit = imports.gi.WebKit;
Vte = imports.gi.Vte;
+<<<<<<< HEAD
//GtkClutter = imports.gi.GtkClutter;
+=======
+>>>>>>> 3b915ee311c6c2f49cc4f64e158b8f1c6fc7de4b
//Gdl = imports.gi.Gdl;
console = imports.console;
XObject = imports.XObject.XObject;
this.el.load_html_string( "Render not ready" ,
//fixme - should be a config option!
// or should we catch stuff and fix it up..
- 'http://localhost/app.Builder/'
+ 'http://localhost/app.Builder.js/'
);
print("LOAD HTML " + html);
this.el.load_html_string( html ,
//fixme - should be a config option!
- 'http://localhost/app.Builder/'
+ 'http://localhost/app.Builder.js/'
);
this.redraws = 0;
// should trigger load_finished! - which in truns shoudl set refresh Required;
--- /dev/null
+
+GTK3
+
+git clone git://github.com/roojs/app.Builder.js.git
+cd app.Builder.js
+git clone git://github.com/roojs/gir-1.2-gtk-3.0.git gir-1.2
+sh install1.2.sh
+
+seed gtkrun.js Builder3.js
+
+
//GtkClutter = imports.gi.GtkClutter;
+<<<<<<< HEAD
//if (GtkClutter) {
// GtkClutter.init(Seed.argv);
//}
+=======
+if (typeof(GtkClutter) != 'undefined') {
+ GtkClutter.init(Seed.argv);
+}
+>>>>>>> 3b915ee311c6c2f49cc4f64e158b8f1c6fc7de4b
File = imports.File.File;
#!/bin/sh
+<<<<<<< HEAD
#git clone git://github.com/roojs/gir-1.2-gtk-2.0.git gir-1.2
+=======
+#git clone git://github.com/roojs/gir-1.2-gtk-3.0.git gir-1.2
+>>>>>>> 3b915ee311c6c2f49cc4f64e158b8f1c6fc7de4b
#// compile GIR's
mkdir -p ~/.Builder/girepository-1.2 || false
+<<<<<<< HEAD
+=======
+
+>>>>>>> 3b915ee311c6c2f49cc4f64e158b8f1c6fc7de4b
ls gir-1.2 | sed s/.gir// | awk \
'{ print "g-ir-compiler gir-1.2/" $1 ".gir --includedir=gir-1.2 -o ~/.Builder/girepository-1.2/" $1 ".typelib" }' \
| sh -x