I don't think there is a need in iemguts for that, in attached example we see a bang destroying itself by clearing the patch, it's working perfectly, many other features that should work, particulary in pdx, are full of bugs indeed (see edit mode message is not working anymore unless it has been corrected), but not this one.
If I have several other [bng] in this subpatch, and want to rebuild all the objects that have been cleared, but not the one where I clicked, I would need to know which bang have been clicked, and it's not possible without creating a subpatch that is mapping the new created bang to an individual name, but if bang is sending a message, this problem, and certainly many other problems like this would go away. Colet Patrice ----- Mail original ----- > De: "IOhannes m zmoelnig" <[email protected]> > À: [email protected] > Envoyé: Mercredi 20 Juin 2012 12:13:37 > Objet: Re: [PD] send a message with IEM/bang > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 2012-06-20 00:26, Patrice Colet wrote: > > Hello, > > > > in a dynamic GUI patching project, I'm using a bang that would > > destroy itself > > "destroying itself" is soemthing that Pd helps a lot with: if you > have > an object destroy itself, Pd will destroy itself as well. > iemgut's [canvasdelete] can help you. > > > and some other objects that come along with it. [bang] is > > do you mean [bng] or [bang]? > > > dynamically contructed then bang would need a callback abstraction, > > or a 'settable receive'. > > [bng] does have a settable-receive. > > fgasdrm > IOhannes > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.12 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAk/hok0ACgkQkX2Xpv6ydvRhoQCgzcDKaXdVcoiqjnDq5ddrugMZ > 9hYAn26dCKtRu1ioSwZS2m8JxHsVt27g > =fBvm > -----END PGP SIGNATURE----- > > > _______________________________________________ > [email protected] mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list >
#N canvas 0 0 450 300 10; #N canvas 525 72 450 300 gui 1; #X obj 99 124 bng 15 250 50 0 clear empty empty 17 7 0 10 -262144 -1 -1; #X restore 159 83 pd gui; #X obj 295 80 r clear; #X msg 295 120 \; pd-gui clear; #X connect 1 0 2 0;
_______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
