Re: [PD] Data structures - delete specific scalar?

2018-05-20 Thread Alexandre Torres Porres
2018-05-20 10:31 GMT-03:00 Christof Ressi : > > * [delete( message for [pointer]: deletes the scalar of the currently > stored pointer. > +1 ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management ->

Re: [PD] Data structures - delete specific scalar?

2018-05-20 Thread Christof Ressi
that's the hack I've described in link provided by Derek :-) I think there a two major issues with Pd's GUI: * the Tk canvas (I believe) doesn't offer any kind of spatial partitioning, so it has to check each item if it's visible (or maybe just draws all of them). OTOH, Qt offers the

Re: [PD] Data structures - delete specific scalar?

2018-05-20 Thread João Pais
Just thought of this after sending the previous mail. I can't try this hack, but it might work. To delete a scalar: - get the scalar's x/y coordinates - use mouse messages to select and delete anything over that pixel. Drawbacks: - will delete anything else over that pixel (affects the

Re: [PD] Data structures - delete specific scalar?

2018-05-20 Thread João Pais
as I recall, in a mail Miller said that it wasn't easy to implement a "delete" (or "previous" etc.) methods, because it would mix up the pointer structures. But most likely I'm remembering incorrectly. The lag with scalars is a real thing, as with any other canvas with lots of gui objects

Re: [PD] Data structures - delete specific scalar?

2018-05-20 Thread Derek Kwan
Roman Haefeli writes: > Hey all > > Following up a thread from 2011: > https://lists.puredata.info/pipermail/pd-list/2011-04/088306.html > > I would like to know whether it is impossible to delete a specific > scalar, by pointer. If so, why is that? Does it use a design that

Re: [PD] Escaping/not resolving dollar argts in msgs/objects?

2018-05-20 Thread Derek Kwan
Ingo Stock writes: > Now this works without error messages, combining some of the approaches > in this thread. > > ingo > > > On 05/15/2018 03:47 PM, Ingo Stock wrote: >> But it works by creating the message with set and changing messages! >> >> [set obj 30 30 array define,