Re: Load extensions from abstraction folder?
IOhannes m zmoelnig <[email protected]>
| Newsgroups | gmane.comp.multimedia.puredata.general |
|---|---|
| Message-ID | <[email protected]> |
On 11/13/24 22:10, adam johnson wrote: >> or to put differently: "plugin-dispatch" is not a way to send arbitrary >> commands to the GUI. > > Could you elaborate on why not? All I can come up with is that it > breaks order of operations but so does [sys_gui] and we can work > around that in the same way [sys_gui] does if need be. Are my > patches/abstractions which use plugin-dispatch this way going to blow > up in my face when the stars align? i don't know how you use it, but: "plugin-dispatch" has a very clear scope: it is a way to interact with a GUI-plugin from your patch. it is decidedly *not* a way to interact with the Tcl/Tk interpreter (that happens to host the GUI plugin). the workflow is: - the GUI loads a plugin - the plugin registers a new method (along with a name) with the dispatcher, using the ::pd_connect::register_plugin_dispatch_receiver proc - from the Pd-patch you can now call the registered method (by the name it used to register the method) the plugin is of course free to do whatever it likes to do with the received data, so it could provide a low-level interface to the Tcl/Tk interpreter. i hope this clears things up. gasdmnr IOhannes --- [email protected] - the Pure Data mailinglist https://lists.iem.at/hyperkitty/list/[email protected]/message/NVL3EQPJWPMWS2JDMANUBAHGIVXLRUY4/ To unsubscribe send an email to [email protected] mailing list UNSUBSCRIBE and account-management -> https://lists.iem.at/
OpenPGP_signature.asc
(application/pgp-signature, 840 B)
-----BEGIN PGP SIGNATURE----- wsF5BAABCAAjFiEEdAXnRVdICXNIABVttlAZxH96NvgFAmc1yjMFAwAAAAAACgkQtlAZxH96Nvgx uA/7B976ME0dg0XsIEhr27qrFUfqzrfMVNLrJGXbdPs8dvotQLVjXN4vqXN0542VbZ0/S9zwtofR 2KG4t0lFfrXVGfiK8e29NGXil4qS3D5oiKe9XDN48UwEVZ/B4CL7Jq2lxdtPA+BVkgF69vyZao4w qaSmV/npYVkt0iQ43fw/Mxy3bnjh5MEpoj1LzNwN5Di+ArqSWzvyk2Z8yTVXf4I4R948F2oCDgfr /FRhNMZHUJqggOOW4fBU/2UorpiVL1hCuoo/h41kiWovr3rrl4034CsbXV+7V5Og5RFRHpW+Qsr+ 1Ul2FqY9/zZRu4b9it3GtrXKqDQqPYkYUBKfLpmwU62HBvDy291pPDvuMbe4al/wRGIXZScdEQbP GxtCmqwr7JaO4Dy5fTC7gpHspPJLxjg/0ESneafuNKfeW7g8RUrk/Nk8gv7SeECZ/2O3GsOdR1jZ 8doZiGOCMP9HcOSkbeoOlqyA8C107VrdQ5P5lI3y/uqL1o3tmFztq67W899TjvN1IG6/tNXgigJu No3E2O523VvKgsl+QJtukpWT3EDXfd3T1DGIWlnx779N0+a4/Lme9TMBrpOGxp6UAQGAl8sMDHxk bN58GS27GK2Z6+x55qrrBp2ePIDzjEfA06IUuaOi8eqNHIszroou/o3H6xCBdd4NXS4+zIe9ahdS 9MY= =ITlD -----END PGP SIGNATURE-----