Andrew,

J701 is a minimalist install. Everything is expected to be download
via pacman.  After a fresh install, the first thing is do should be
open pacman, get an updated base library (this also requires a
restart to take effect).  All demos that I mentioned should be seen
in pacman. try type the following in a j session.

   load'pacman'
   'update'jpkg''
Updating server catalog...
....
   'upgrade'jpkg''

   'search'jpkgv'demos'
+--------------+------+------+-----------------------+
|demos/gtk     |1.0.20|1.0.20|gtk demos              |
|demos/isigraph|      |1.0.8 |isigraph demos         |
|demos/opengl  |1.0.13|1.0.13|OpenGL demos           |
|demos/plot    |1.0.10|1.0.10|Plot demos             |
|demos/wd      |1.0.22|1.0.22|wd demos               |
|demos/wdplot  |1.0.5 |1.0.5 |Plot demos wd emulation|
+--------------+------+------+-----------------------+
   'install'jpkg'demos/gtk'
....
   exit 0

Launch J again. Please also refer to jwiki for this demo,
http://www.jsoftware.com/jwiki/Addons/demos/gtk


the felidae1/2/3 are simple projects. Since they are projects they
contain multiple files.

If you are new to gtk programming, you need to rtfm in order to get
started.  Click on the gtkide help > gtk > gtk tutorial.  Read the
first few chapters up to (and incluing) 'packing widgets', you may
skip the detail of how to compile a c program. Some c examples have
been translated into J and availbel under the folder
~addons/gui/gtk/demo,  

Note that tut6.ijs requires an additonal linux shared library so that
you may just ignore it.

Сбт, 12 Май 2012, Andrew Nikitin писал(а):
> 
> Bill,
>  
> By typical I mean simple form, like "cities" from j6 wd demos.
> One file, one window, couple of easy to understand controls on this window.
> Couple recognizable event handlers in the file. Something I can start with.
> 
> Here is what I did: I downloaded j701a_setup.exe
> from http://www.jsoftware.com/stable.htm
> Which claims that it "includes GTK binaries, JGTK front end, JHS front end, 
> and
> the more common addons."
> 
> After installation I ran jgtk.bat from j701/bin
> It opened window resembling good old wd. So far so good.
> 
> Then I looked through menus. I found Run|Launch Pad submenu with
> minesweeper, isigraph demo, wd demos, open gl demos (nothing named gtk demos
> there). What is this "demos/gtk" that you mention? Where I can find it?
> 
> I also found several links to GTK omepage under Help, but they all have 
> nothing
> to do with J and of no help on how to make a simple form.
> I also found a minesweeper demo, but it is too complex for first intro.
>  
>  
> > From: bill lam <bbill....@gmail.com>
> > Subject: Re: [Jprogramming] GTK gui sample
> > To: programming@jsoftware.com
> > Message-ID: <20120512011314.GB3410@debian.b2j>
> > Content-Type: text/plain; charset=utf-8
> >
> > sorry typo. They should be
> >
> > demos/gtk , demos/plot and demos/opengl.
> >
> > ???, 12 ??? 2012, bill lam ?????(?):
> > > It depends on what you meant by 'typical'. There are already some
> > > gtk examples under addons/gtk , addons/plot and addons/opengl.
> > >
> > > ???, 11 ??? 2012, Andrew Nikitin ?????(?):
> > > >
> > > > Where I can find example of typical J GTK based gui application?
> > > > Like "cities" or "controls" from old wd demos?
> > > >
> > > > The demos in GTK demo wd stuff and labs do not mention GTK at all.
> > > > I may have been looking in the wrong places.
>  
>                                         
> ----------------------------------------------------------------------
> 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

Reply via email to