I guess it crash in griddemo4 where a tab is used. There was a regression in gtkwd that selecting tab page will crash. The fix is available. I also update examples to work under gtkwd on the jwiki grid example page.
You may wonder why form containing isigraph must be pshow before anything can be drawn on it. Hypothetically this is not needed since isigraph in gtkwd also uses double buffering. All gl2 commands are in fact drawn to a memory image instead of that isigraph directly. The main difficulty is the final size of isigraph cannot be known until it is display on screen. This is not a bug because gtk works this way, its layout manager will determine the position and size of widgets. On the other hand J6 can create a memory image must earlier because the width and height of isigraph is known. Срд, 14 Мар 2012, Björn Helgason писал(а): > I opened J7 GTK > > the first example ran ok > > I tried other examples and needed to make similar changes to those. > Before I did the changes and tried to run I got J to crash a few times. > > 2012/3/14 bill lam <bbill....@gmail.com> > > > there was a typo. the line should be > > > > wd^:(-.IFJ6) 'pshow;pshow sw_hide' > > > > the : was previously missing. > > > > Втр, 13 Мар 2012, Björn Helgason писал(а): > > > I tested the examples > > > http://www.jsoftware.com/jwiki/Grid/Examples > > > > > > Something is missing > > > > > > --------- 1:st > > > gdemo_close=: destroy > > > create'' > > > |domain error: wd1 > > > | 13!:8[3 > > > ------------ 2:nd > > > gdemo_close=: destroy > > > create'' > > > |assertion failure: cairo_glclipreset > > > | 0~:gtkcr,gtkpl > > > ------------ 3:rd > > > create'' > > > |assertion failure: cairo_glclipreset > > > | 0~:gtkcr,gtkpl > > > ---------------- 4:TH > > > > > > create'' > > > |assertion failure: cairo_glclipreset > > > | 0~:gtkcr,gtkpl > > > ---------------- 5:TH > > > CELLDATA=: 3 + ?3 5$17 > > > HDRROW=: HDRCOL=: 1 > > > create'' > > > |index error: getparentid > > > | 0 pick ndx {fms > > > > > > 2012/3/11 bill lam <bbill....@gmail.com> > > > > > > > grid now works under j701 with or without jtkwd > > > > > > > > without gtkwd: > > > > > > > > load 'grid' > > > > grid i. 10 10 > > > > > > > > an example of embedding grid into an existing form is provided at > > > > > > > > http://www.jsoftware.com/jwiki/Grid/Examples > > > > > > > > -- > > > > 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 > > > > > > > > > > > > > > > > -- > > > Björn Helgason, Verkfræðingur > > > Fornustekkum II > > > 781 Hornafirði, > > > t-póst: gos...@gmail.com > > > gsm: +3546985532 > > > twitter: @flugfiskur > > > http://groups.google.com/group/J-Programming > > > > > > > > > Tæknikunnátta höndlar hið flókna, sköpunargáfa er meistari einfaldleikans > > > > > > góður kennari getur stigið á tær án þess að glansinn fari af skónum > > > /|_ .-----------------------------------. > > > ,' .\ / | Með léttri lund verður | > > > ,--' _,' | Dagurinn í dag | > > > / / | Enn betri en gærdagurinn | > > > ( -. | `-----------------------------------' > > > | ) | (\_ _/) > > > (`-. '--.) (='.'=) ♖♘♗♕♔♙ > > > `. )----' (")_(") ☃☠ > > > ---------------------------------------------------------------------- > > > 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 > > > > > > -- > Björn Helgason, Verkfræðingur > Fornustekkum II > 781 Hornafirði, > t-póst: gos...@gmail.com > gsm: +3546985532 > twitter: @flugfiskur > http://groups.google.com/group/J-Programming > > > Tæknikunnátta höndlar hið flókna, sköpunargáfa er meistari einfaldleikans > > góður kennari getur stigið á tær án þess að glansinn fari af skónum > /|_ .-----------------------------------. > ,' .\ / | Með léttri lund verður | > ,--' _,' | Dagurinn í dag | > / / | Enn betri en gærdagurinn | > ( -. | `-----------------------------------' > | ) | (\_ _/) > (`-. '--.) (='.'=) ♖♘♗♕♔♙ > `. )----' (")_(") ☃☠ > ---------------------------------------------------------------------- > 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