Dear Forum,
Is it possible to move an abstraction-object on the parent patch? I have it graph on parent, and would like to move it from within the abstraction. Cant believe its not possible, as it is so easy with GUI objects..
thanks in advance,
johnny
-
move object on parent patch
-
@Johnny-Mauser Like this?
goppy stuff.zip
and open [master]
David. -
@whale-av yes! this seems exactly what i meant.
EDIT: is there a documentation about donecanvasdialog? -
@Johnny-Mauser The text document inside that zip contains all that I have found out....... including one piece of information that I have never found again...... the "dirty" message that stops the property box popping up when you send the message..... hats off to whoever found that and allowed me to find it again!
David -
@whale-av either i don't really understand, or donecanvasdialog is not what i meant. I try to move the the "parentzione" on the master not the GOP area.
by the way, did you know about the [map 0, map 1( msg? it can be used to draw the gui again, so that all the nasty leftovers that sometimes appear are going away.. -
@Johnny-Mauser You want the gop window to shift on the parent........and....
The abstraction guis to shift at the same time?
The abstraction guis to be fixed so that they are "revealed" within the shifting window?
or
The gop window to stay in a fixed position on the parent window and the guis in the abstraction to move and so be revealed in that stationary window?
Let me (us) chew on your answer and make an example for you...... (if possible).
David. -
i solved my original problem for now with moving only a toggle, but for next time, (and i can allready think of the next use case):
I would like to move an abstraction in a patch, like i could be moving an iemgui object e.g. toggle. Somehow its hard for me to discribe. I hope the problem is the language not the inteligence; so I made a patch:
open the "moving_objects.pd" patch
-
@Johnny-Mauser The easiest way is to make the canvas for your abstraction bigger. The gui can be moved outside of its gop, but then it is unusable on the parent (unclickable). If you make its gop big, and then push the abstraction to the back of the z-order then you can still access everything else. You could make the gop as big as the patch window and it would effectively disappear.
I have tried moving the gop in sync with the gui, and it works with the abstraction open, but not when closed. I have a vague memory that you need to send zero sizes followed by sizes when moving the gop (everything always in order in Pd!)...... I will try again in a couple of hours.
Here it works with a big gop...........
mov_obj.zip
David. -
@Johnny-Mauser Hi, there! I'm having some problems with the "graph-on-parent" canvas update on parent patch. One object is being drawn on top of the other. I tried this "map 1" message, but it doesn't solve the issue. How can I reset the canvas? Thank you!
-
I come back to this, since for the record I want to hint to a solution even though I have no time to provide one. So, future me and you, please check out [canvasposition] from iemguts. @rppbodo maybe also your problem is adressed by one of those iemguts objects?