projects
/
app.Builder.js
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tests/enum.vala
[app.Builder.js]
/
tests
/
GtkView.vala
diff --git
a/tests/GtkView.vala
b/tests/GtkView.vala
index
607727a
..
df26f49
100644
(file)
--- a/
tests/GtkView.vala
+++ b/
tests/GtkView.vala
@@
-8,18
+8,21
@@
public Project.Project proj;
int main (string[] args) {
Gtk.init (ref args);
int main (string[] args) {
Gtk.init (ref args);
-
//
GtkClutter.init (ref args);
+ GtkClutter.init (ref args);
new JsRender.Lang_Class();
GLib.Log.set_always_fatal(LogLevelFlags.LEVEL_ERROR | LogLevelFlags.LEVEL_CRITICAL);
Project.Project.loadAll();
proj = Project.Project.getProject("Builder4");
proj.scanDirs();
new JsRender.Lang_Class();
GLib.Log.set_always_fatal(LogLevelFlags.LEVEL_ERROR | LogLevelFlags.LEVEL_CRITICAL);
Project.Project.loadAll();
proj = Project.Project.getProject("Builder4");
proj.scanDirs();
-
- loadit("WindowLeftProps");
- loadit("EditProject");
-
-
+ //
+ //loadit("ProjectSettings");
+ var iter = proj.sortedFiles().list_iterator();
+ while (iter.next()) { loadit(iter.get().name); }
+ //loadit("WindowLeftProps");
+ //loadit("EditProject");
+ //loadit("Editor");
+ //loadit("MainWindow");
Gtk.main();
Gtk.main();
@@
-39,7
+42,21
@@
void loadit(string name ) {
left_props.el.show();
w.add(left_props.el);
w.show_all();
left_props.el.show();
w.add(left_props.el);
w.show_all();
- left_props.addNode(tf);
+ left_props.loadFile(tf);
+
- left_props.container.el.show_all();
+/*
+
+ var g = new JsRender.NodeToGtk(tf.tree);
+ var obj = g.munge() as Gtk.Widget;
+ if (obj == null) {
+ print("skip %s - munge returned null\n", name);
+ return;
+ }
+ var w = new Gtk.Window( Gtk.WindowType.TOPLEVEL );
+ w.set_title(tf.name);
+ w.ref();
+ w.add(obj);
+ w.show_all();
+*/
}
\ No newline at end of file
}
\ No newline at end of file