Re: "Click" and "Change" Notifications for Array Elements in Data Structures

Pier Bar <[email protected]>
Newsgroups gmane.comp.multimedia.puredata.general
Message-ID <CAEpmJ3FOiT+U85rMSEQ5+9hYU5t6t8+epgPcGvNT1mr1eC2pNg@mail.gmail.com>
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 <[email protected]> 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 - [email protected]
>
> https://lists.iem.at/hyperkitty/list/[email protected]/message/RK37WCFHSPZ5PCM4UQJT3JUNNLO3EVAQ/
>
> To unsubscribe send an email to [email protected] mailing list
> UNSUBSCRIBE and account-management -> https://lists.iem.at/
>
>

 ---
Pd-list - [email protected]
https://lists.iem.at/hyperkitty/list/[email protected]/message/2P634W3NDLE5POKU2VW3VWVHQSYVD4N7/

To unsubscribe send an email to [email protected] mailing list
UNSUBSCRIBE and account-management -> https://lists.iem.at/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.