glade should run on window, The error you saw was a bug that have been fixed but not yet propagated into pacman update. The minesweeper also use glade but it fixed it on-the-fly.
Please try apply to following patch to your gtk.ijs and check if glade demo run ok. diff --git a/gui/gtk/source/glade/main.ijs b/gui/gtk/source/glade/main.ijs index 23b8f84..fa10665 100644 --- a/gui/gtk/source/glade/main.ijs +++ b/gui/gtk/source/glade/main.ijs @@ -14,7 +14,7 @@ builder=. gtk_builder_new'' if. 0=builder do. 0 0 return. end. r=. '' gerr=: ,-0 -if. L.file do. +if. L.y do. rc=. gtk_builder_add_from_string builder;(>y);_1;gerr else. rc=. gtk_builder_add_from_file builder;y;gerr Пнд, 11 Окт 2010, Björn Helgason писал(а): > It is not a necessity at this stage to move/reimplement all demos/labs/helps > from J6 to J7. > > It is especially interesting to see possibilities of the new environments > jhs and gtk in demos. > > Already we have seen some demos in both environments that are very > interesting and in the jhs environment they are shown in demos. > > The jhs demos are of use of the browser features and are therefore not > directly usable in the gtk environment for obvious reasons. > > Similar demos in the gtk environments displaying the strength of J and gtk > working together are of interest. > > Tut1 up to tut5 show that. > > tut6 and tut7 are using features I do not have in my vista machine > > load 'c:/j7w/addons/gui/gtk/demo/tut6.ijs' > cannot load libgtkhtml > load 'c:/j7w/addons/gui/gtk/demo/tut7.ijs' > |control error: gtkglade > | 'builder window'=:'window' gtkglade > jpath'~addons/gui/gtk/demo/tut7.glade' > load 'c:/j7w/addons/gui/gtk/demo/tut6.ijs' > cannot load libgtkhtml > load 'c:/j7w/addons/gui/gtk/demo/tut6.ijs' > cannot load libgtkhtml > > 2010/10/8 bill lam <[email protected]> > > [---=| TOFU protection by t-prot: 319 lines snipped |=---] > -- regards, ==================================================== GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
