I think Miller already introduced some options to switch off interaction in edit and run modes. Check the documentation of the latest Pd version (I can't do it now). Besides that, get and set are the way to go.

Am 29.11.2019 um 06:57 schrieb Alexandre Torres Porres:
so, I have a data structure based GUI object, and say I just want it to display things and not really interact with it by clicking the data structures around, is it possible? Sorry if this is a stupid question, I just want to be sure.

So, say I have some shapes (for instance, a polygon) that can be controlled by messages and change something like its size. Now, because of that, if I go over the graph on parent and click on the corner of the polygon, I can drag and change the shape. Now, what if I want to prevent that from happening? Hints for tricks and hacks?

What I'm doing so far is I'm getting the values of these parameters with [get] and reset the value if they change with [set]. it seems to be doing the trick, but maybe there are other ways of doing this?

And maybe, just maybe, perhaps we could include an option, a flag, that an object is only for display? hmm? what you think?

cheers

_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list