hi list,
how do i get my tk widget to send messages back to my c++ extern? right now i just have it send to a receive object in my patch, which is hardly as elegent.
--e
------ http://USFamily.Net/info - Unlimited Internet - From $8.99/mo! ------
hi,
the usual way is doing just that -- sending to a symbol -- on the gui side, while binding your external object to this symbol on the pd side. Since that symbol should be somehow unique, a good way would be to perform some name mangling with an object's address, e.g. using "%x" pattern in sprintf. You will find many such examples in Miller's (and other's) code.
Krzysztof
e skogen wrote: ...
how do i get my tk widget to send messages back to my c++ extern? right now i just have it send to a receive object in my patch, which is hardly as elegent.