Perhaps vanilla could port the pd-l2ork's <arrayname>_changed send that is attached to each array and is used in conjunction with the global presetting mechamism (preset_hub and preser_node objects). IIRC, canvas hosting the array should also trigger the "clicked" event.

Best, 

Ico
--
Ivica Ico Bukvic, D.M.A.
Director, Creativity + Innovation
Director, Human-Centered Design iPhD
Institute for Creativity, Arts, and Technology

Virginia Tech
Creative Technologies in Music
School of Performing Arts – 0141
Blacksburg, VA 24061
(540) 231-6139
ico@vt.edu

ci.icat.vt.edu
l2ork.icat.vt.edu
ico.bukvic.net

From: Pier Bar <pier.ba001@gmail.com>
Sent: Friday, August 9, 2024 5:50:43 PM
To: pd-list@lists.iem.at <pd-list@lists.iem.at>
Subject: [PD] "Click" and "Change" Notifications for Array Elements in Data Structures
 
Hello,

I've noticed that while structures in Pure Data usually can send "click" and "change" notifications when modified, this behavior doesn't seem to apply to the elements of an array within these structures (apart from polling solutions like using [metro]).

How difficult would it be to change this behavior in the future, or would Pure Data's architecture not easily allow for it?

Best regards,

Pierpaolo Barbiero