It seems that if you [print] from the element's struct you get 'click
messages' with pointers for every element in the array when clicking, is
that it?

I guess this same [struct] should then just also send a 'change' message
for the pointer of the element that is being changed. It does make sense
and seems like a natural thing given how stuff works in general. I'd like
to see that!

I haven't looked at the code, but I guess you could just open this request
on github.

cheers

Em sáb., 10 de ago. de 2024 às 12:06, Pier Bar <pier.ba...@gmail.com>
escreveu:

> Thank you for the advice, I didn't know that Purr-Data had this capability
> for arrays! However, it seems that even there, structures behave similarly
> regarding this issue. It's true that "clicked" messages are sent, but they
> trigger when clicking on an undefined area of the canvas that represents
> the entire structure, even in the case of multiple arrays. Additionally,
> these messages return the coordinates of each element but not when clicking
> on the elements themselves...
>
> The goal would be to make the substructure that identifies each element
> able to detect multiple coordinates. I wonder how challenging this would be.
>
> Il giorno sab 10 ago 2024 alle ore 11:36 João Pais <jmmmp...@gmail.com>
> ha scritto:
>
>> arrays do send click messages when clicked - unless you're dragging the
>> mouse for a long time, a partial solution could be to use the message to
>> trigger a time-limited polling (and when this polling finds differences,
>> activates itself again).
>>
>>
>> > 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
>>
>>  ---
>> Pd-list - pd-list@lists.iem.at
>>
>> https://lists.iem.at/hyperkitty/list/pd-list@lists.iem.at/message/RK37WCFHSPZ5PCM4UQJT3JUNNLO3EVAQ/
>>
>> To unsubscribe send an email to pd-list-le...@lists.iem.at mailing list
>> UNSUBSCRIBE and account-management -> https://lists.iem.at/
>>
>>  ---
> Pd-list - pd-list@lists.iem.at
>
> https://lists.iem.at/hyperkitty/list/pd-list@lists.iem.at/message/2P634W3NDLE5POKU2VW3VWVHQSYVD4N7/
>
> To unsubscribe send an email to pd-list-le...@lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> https://lists.iem.at/
 ---
Pd-list - pd-list@lists.iem.at
https://lists.iem.at/hyperkitty/list/pd-list@lists.iem.at/message/YDSVY3L5CTWDJDU6VYOFNCBP3VAWQP7K/

To unsubscribe send an email to pd-list-le...@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> https://lists.iem.at/

Reply via email to