Втр, 25 Май 2010, Sherlock Ric писал(а):
> > From: bill lam
> > 
> > Втр, 25 Май 2010, Sherlock Ric писал(а):
> > > I was trying out the Gtk demos gui/gtk/demo/tut*.ijs But I think
> > > that the event-handling mechanism has evolved since they were
> > > created and so the gtkcallback verb causes a value error. For those
> > > of us coming to grips with Gtk, it would be a big help to have the
> > > demos working.
> > 
> > GTK demos now fixed. Please try.
> > 
> 
> Thanks Bill,
> As far as I know I've successfully built the latest gui/gtk scripts and the 
> gui/gtk/demos on the trunk. Some of the demos sort of work, but there are 
> often callback errors when I run them.
> Error messages keep popping up and I close them only to have one reappear 
> when I click on the Term window.
> 
> == Example Steps ==
> Start new J7 GtkIDE session.
>   load 'gui/gtk/demo/tut3'
>   NB. A dialog titled "callback" pops up with contents "xxx qpointer 62"
>   I "cross" it and am left with the Tutorial dialog "Hello Buttons!" (three 
> buttons including quit).
>   Pressing the first 2 buttons seems to work as intended (smoutput in Term).
>   When I click the "quit" button the dialog disappears.
>   Now when I click on the Term window a dialog titled "callback" pops up with 
> contents:
>    xxx signal: button2_click_m3_
> 
> |length error: button2_click_m3_
> |   'widget data'    =.y
>   
>   Every time I dismiss the dialog another one pops up.

Ric,

These demos are intended to run under jconsole independent of gktide
and source of demos are under gui/gtk/source/demo.  Please check if
files under your gui/gtk/demo/tut3 are actually the same of that from
source/demo.  Thanks.

-- 
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

Reply via email to