In fact, the approach in GTK library is similar to what was done for media/platimg addon. Compare
http://www.jsoftware.com/svn/addons/trunk/media/platimg/linux.ijs and http://www.jsoftware.com/svn/addons/trunk/gui/gtk/source/gtk/api.ijs in terms of graphics primitives. > From: "Sherlock, Ric" <[email protected]> > From: Chris Burke > > Sherlock, Ric wrote: > > I imagine that those implementing the J interface for Gtk have worked > through these sorts of issues. I suppose what I'm really asking is for > some insight into those thought processes and some idea of the "grand > design". > > I don't remember the exact history of this, but Bill and I worked on > gtk > bindings for plot and some simple demos, see > http://www.jsoftware.com/trac/addons/browser/trunk/gui/gtk/source/gtk/a > pi.ijs. > Since then, a lot more bindings have been added by a combination of > quick hack and manual effort. We don't have a proper generator, and I > have found that adding in new bindings manually works pretty well. > > In most cases, what is needed is good J cover functions, and so far, we > have built a reasonable set for the J session. > > BTW, the IDE is at the point where it can be used to bootstrap itself. > I > plan to clean it up and add some docs this weekend and get some > preliminary feedback. We might get the first beta of it out in maybe 2- > 3 > weeks. Thanks Chris, That is helpful, I imagine seeing it used in anger will clarify things further. I'm especially looking forward to tinkering with Gtk interfaces on Windows. Ric ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
