The file allapi.ijs is outdated and may be incorrect. You always check against the officail gtk documentation available from the gtkide help menu. For testing purpose you can add api at the beginning of your application, in the format, assuming it had already got coinsert 'jgtk'
gtk_drag_dest_set_jgtk_=: ((>libgtk), ' gtk_drag_dest_set > n x x x x x')&cd this is for linux/darwin. For window it needs an extra + gtk_drag_dest_set_jgtk_=: ((>libgtk), ' gtk_drag_dest_set >+ n x x x x x')&cd when you are done with testing, the extra api can be commited to the repo. Вск, 05 Фев 2012, Emir Ustamujic писал(а): > Hi, > > I've checked out the J code from the repo and for the gtk addon found the > allapi.ijs file in trunk/gui/gtk/source/. > I am trying to add some of these functions from the allapi.ijs file which I > currently do not see in my local installation in j701/addons/gui/gtk/ in the > gtk.ijs file > > So I added : > gtk_drag_dest_set > n x x x x x > > to gtk.ijs but when starting J I get the error : > |value error: x > | gtk_drag_dest_set>n x x x x x > |[-505] /home/emir/j701/addons/gui/gtk/gtk.ijs > > So the question is how to add functions from allapi.ijs which are not > currently in gtk.ijs to be able to use them in a J project? :) > > I see in allapi.ijs that the full line is : > gtk_drag_dest_set=: (libgtk, ' gtk_drag_dest_set > n x x x x x')&cd > It would be useful to understand what this line does. > > Thank you, > Emir > ---------------------------------------------------------------------- > 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