First you have to find out th size of that structure, then use mema to allocate that memory. Please refer to the chapter of dll of J user manual for detail of mema and related verbs.
Втр, 21 Авг 2012, Emir Ustamujic писал(а): > Hi, in an earlier response from Bill I learned that j uses memr to access > structure members in gtk and that works fine. But I am wondering how we would > go about creating new instances of gtk structures, for example what would be > the J equivalent of : GdkColor color; > > Thanks, > 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
