[Jprogramming] Digest for j-programming at googlegroups.com - 3 Messages in 2 Topics
bill lam
bbill.lam at gmail.com
Wed Feb 15 08:11:03 HKT 2012
What is the version of your gui/gtk? The current one should be 83.
The "life" you loaded under demos/wd was only added recently, the
orignal "life" is un-touched and resides under demos/gtk.
gtkwd.ijs already got a line in its beginning,
require 'gui/gtk gl2'
Being said, loading gtkwd alone cannot run under jconsole, you need first
run gui/gtk and start a message loop.
Втр, 14 Фев 2012, Devon McCormick писал(а):
> I've run "life" many times before in J7 GTK but now it's broken but I see
> what the problem is.
>
> If I load it as the demo does:
>
> load'c:/Program Files (x86)/j64-701/addons/demos/wd/life.ijs'
>
> I get the error. The missing item is defined in another file, so if I do
> this first:
>
> load 'C:/Program Files (x86)/j64-701/addons/gui/gtk/gtk.ijs'
>
> "life" seems to start up OK. It looks like "gtkwd/gtkwd.ijs" needs a line
> like
> require '~addons/gui/gtk/gtk.ijs'
> because it uses getGtkWidgetGeometry which is not otherwise defined.
>
> It's also possible I'm missing an updated but I think I did one recently.
>
> 2012/2/14 Björn Helgason <gosinn at gmail.com>
>
> > I tried life again in my Vista 32 machine from the demo select.
> >
> > Tested different patterns and step, pause and run.
> >
> > I do not get any problems.
> >
> > The life application has been working ok in J7 GTK for a long time and I
> > have not had a single problem with it.
> >
> > Den tisdagen den 14:e februari 2012 kl. 19:15:31 UTC skrev
> > Devo... at gmail.com:
> >
> >> I get the following error attempting to run the "life" demo:
> >>
> >> error in: demos_ok_button
> >>
> >> value error: getGtkWidgetGeometry
> >> _1={.xy=2{. getGtkWidgetGeometry widget
> >>
> >> ...
>
> --
> Devon McCormick, CFA
> ^me^ at acm.
> org is my
> preferred e-mail
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
--
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
More information about the Programming
mailing list