In your code:
".('create__mygrid',":currgrid)
I don't see any argument passed to create verb, so it's not easy to
undertand which type of issues occur.
Lorenzo
Justin Tirrell wrote:
>
> I just started using J and GTK, so apologies if this is too vague:
>
> I am writing a script that will take input data from a GTK frontend, use
> it
> to do a query into a jdb database, and output the data in a new gtkgrid
> contained in a new window. I would like the user to be able to make
> (hypothetically) an infinite number of queries and keep all windows open.
>
> Currently, I have written it with a variable that I can use in my grid
> locale and increment after each query. For example:
>
> ".('mygrid',(":currgrid),' =:conew ''jgtkgrid''')
> NB. currgrid is an integer that is incremented after each query
> ".('create__mygrid',":currgrid)
> ".('handler__mygrid',(":currgrid),' =: 3 : handlerdef')
>
> I seem to be having a lot of issues with this method, and it results in
> messy code. Is there a better/correct method? I can clean up my code and
> post more if anyone wants to see it.
>
> Thanks,
> Justin Tirrell
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
>
--
View this message in context:
http://old.nabble.com/Creating-GTK-Grids-on-Request-tp32133920s24193p32134141.html
Sent from the J Programming mailing list archive at Nabble.com.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm