Em sex., 4 de jul. de 2025 às 20:58, Alexandre Torres Porres < porres@gmail.com> escreveu:
I spoke too soon and, even though hovering awareness allowed me to do something cool I wanted, I can't seem to get clicking area or click events when in edit mode (oops).
To be clear, my hovering system works in edit mode and this is what got me thinking and confused. But now that I read this whole thread again carefully, I see there seems to be no other way to resize externals than what I currently have (and don't like).
Being able to also resize iemguis like the other Pd boxes might be tricky (I don't know), but I bet certainly doable by messing with what's hardcoded. I'd like to see an easier iemguis resizing but also have an easier/better way for externals, so I guess I'll just open a request on github and refer to this discussion.
thanks
Em sex., 4 de jul. de 2025 às 20:07, Alexandre Torres Porres < porres@gmail.com> escreveu:
Just dropping back here to say I found a simple solution to query if the object is being hovered or not, and this helps me in this situation as it allows me to change the cursor if I'm close to the edges and then, if I stop hovering the object, I can change the cursor back to an arrow.
Now I think I can easily resize the objects in a better way than Cyclone was doing.
cheers
Em sáb., 21 de dez. de 2024 às 07:29, Alexandre Torres Porres < porres@gmail.com> escreveu:
Em sex., 20 de dez. de 2024 às 18:54, Day Rush kumoyuki@gmail.com escreveu:
My point being, something like a widget resize most likely gets handled entirely on the TCL side. Certainly a lot of it *must* be handled in TCL, so you're really going to have to work it from that end to get to a good answer. PD really only knows what the TCL code tells it.
Oh, definitely, sure! And I know of a solution already for handling resizing in edit mode from Cyclone, as I pointed. I'm just now finally diving into tcl/tk and trying to better understand how to handle it in Pd and looking for better and easier solutions. I made progress already in handling cursor management in run mode, but I'm afraid it won't be easier than the Cyclone solution for edit mode though :/ again, this involves creating a new window widget that you can assign a cursor to.
Clicking on the object in edit mode and working with it is also happening in cyclone/comment by the way, and there's lot's of tcl/tk code in there, but managing cursor change for a resize operation does not seem trivial without creating a window so far. Certainly not as trivial as doing it for the run mode as I was able to find out.
anyway, thanks for the input