[Jprogramming] JGtk adding functions from allapi

Emir Ustamujic emir_beg at yahoo.com
Mon Feb 6 02:14:53 HKT 2012


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


More information about the Programming mailing list