Hi all,
I'm working on haveing data struture templates 'catch' changes in fields so that they can react any way they want. It's hard to figure out how to make this efficient. The "0.40" pre-release has some of this now, although it isn't docvumented yet (messages appear on teh outlet of the 'struct' object when something gets cselected or dragged with the mouse...)
cheers M On Thu, Jul 06, 2006 at 01:29:36PM +0200, Jo?o Miguel Pais wrote:
As I see it, this is another case where some way to detect changes of data in a ds-instance would help a great deal. There already is the starting for this available with the [struct] object's outlet, that sends a pointer, if an instance is selected in Edit mode. One could do all math or list or symbol processing that Pd is capable of with this pointer using normal Pd objects.
However there still is no way to detect a change outside of edit mode and no way to detect changes through other means (though these originate somewhere in Pd anyways and thus they can be intercepted from there.)
true, if a "detect when active" flag is available, that would be enough,
all the rest can be made somewhere else.edit mode only helps when the task is about moving an existing structure.
changing it with the mouse must be done outside of edit mode. it is possible to change the structure with send, or also with external
gui->set combination, but that's not as intuitive as doing it directly on
the screen.
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list