Christof Ressi wrote:
Hi, short answer:
[click 0 0 0 0 0( --> [array define foo] or [;pd-foo click 0 0 0 0 0(. this click method is for canvases and takes 5 arguments. it has nothing to do with the click method for [text]. 'pd-foo' is the name of the canvas where the actual garray 'foo' lives.
hi, thanks a lot ! that did it !
sending 'click 0 0 0 0 0' for opening the canvas of [array define] is pretty hacky - and naturally you can't use it to close the canvas.
my proposal would be to include the 'vis' method in canvas_add_for_class. and as a general basic question: why do we inhibit the user from being able to edit the canvas of [array define] in the first place?
+1
best
oliver