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 <
[email protected]> escreveu:

> Em sex., 20 de dez. de 2024 às 18:54, Day Rush <[email protected]>
> 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
>
 ---
[email protected] - the Pd developers' mailinglist
https://lists.iem.at/hyperkitty/list/[email protected]/message/NTH26SRQBASFUBED2QRXOKPQ6MPKCFPL/

Reply via email to