Note that the canonical format for running an addon script is:
   load 'demos/wd/demos'    NB. no .ijs suffix
This runs the demos.ijs script in the demos/wd addon.

If the main script to run has the same name as the addon (e.g. the
main script for the tables/csv addon is csv.ijs), then you can use the
form:
   load 'tables/csv'
This will have the same effect as:
   load 'tables/csv/csv'
Which is the sames as:
   load '~addons/tables/csv/csv.ijs'

On Mon, Feb 20, 2012 at 10:54 PM, bill lam <bbill....@gmail.com> wrote:
> The jwiki page assume users have knowledge about launchpad.  You may
> run directly by just entering
>
>  load '~Demos/wd/demos.ijs'
>
> if ~Demos is not yet defined, then try,
>
>  load '~addons/demos/wd/demos.ijs'
>
> You may need to install additional addons, or you may just install
> _all_ addons to save the trouble to figure which addons should be
> installed.  You can always have the option of removing unwanted
> addons via pacman.
>
> When you get wd1 domain error, it means some wd command failed. to
> get error message, type
>
>  wd'qer'
>
> Or you may set debug mode,
>
> require 'gui/gtkwd'
> Debugwd_gtkwd_=: 1
>
> it then will trace all wd commands and events, to stop tracing, type
>
> Debugwd_gtkwd_=: 0
>
> Пнд, 20 Фев 2012, Linda Alvord писал(а):
>>     require 'gui/gtkwd'
>>    load '~Demos/wd/demos.ijs'
>>    require 'gl2'
>>    wd'pshow'
>>
>>    NB.wd;~Demos/wd/demos.ijs'
>>    wd;'~Demos/wd/demos.ijs'
>> |domain error: wd1
>> |       13!:8[3
>>
>> I tried to follow the instructions on the wiki page for gtkwd and I get a 
>> domain error.
>> I do get the  Demos Select window. But I get lots of wd1 errors with my own 
>> old software and the image is always this one.  I do not know how to go 
>> about finding the error and fixing it.
>>
>> Linda
>>
>>   -----Original Message-----
>> From: programming-boun...@jsoftware.com 
>> [mailto:programming-boun...@jsoftware.com] On Behalf Of bill lam
>> Sent: Sunday, February 19, 2012 7:43 PM
>> To: programming@jsoftware.com
>> Subject: Re: [Jprogramming] show grid
>>
>> You need to add wd'pshow' after wd F1, please refer to gtkwd jwiki
>> page.
>>
>> Be warned that grid is very inefficient under gl2 emulation, jgtkgrid
>> should be faster.
>>
>> Вск, 19 Фев 2012, Björn Helgason писал(а):
>> > I am moving an application from J6 to J7 GTK and when I do show on the grid
>> > I get an error
>> >
>> >
>> > wd F1
>> >
>> > g1=: '' conew 'jzgrid'
>> > GRIDID__g1=: 'g1'
>> > CELLDATA__g1=: i.100 100
>> > show__g1''
>> >
>> >
>> > assertion failure: cairo_glclipreset
>> > |   0~:gtkcr,gtkpl
>> >
>> > What am I missing?
>> > ----------------------------------------------------------------------
>> > 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
>> ----------------------------------------------------------------------
>> For information about J forums see http://www.jsoftware.com/forums.htm
>>
>> ----------------------------------------------------------------------
>> 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
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to