Re: [PD] Getting pointer coords in patcher windows

2016-12-09 Thread IOhannes m zmölnig
On 12/10/2016 06:34 AM, Derek Kwan wrote: > Are there > issues with freeing the proxy directly with the parent's free method? well, otherwise it will crash when you send a "clear" message to the canvas (which will be received by [receivecanvas] that was just deleted). the entire receiver-proxy is

Re: [PD] Getting pointer coords in patcher windows

2016-12-09 Thread Derek Kwan
> On 12/09/2016 06:24 AM, Derek Kwan wrote: > > Hello, > > > > external object class was instantiated. The latter sounds trickier and I > > haven't got there yet, but for the former I'm trying [winfo pointerx > > $::focused_window] > > check out iemgut's [canvasreceive]. > check out the

Re: [PD] Getting pointer coords in patcher windows

2016-12-09 Thread IOhannes m zmölnig
On 12/09/2016 06:24 AM, Derek Kwan wrote: > Hello, > > external object class was instantiated. The latter sounds trickier and I > haven't got there yet, but for the former I'm trying [winfo pointerx > $::focused_window] check out iemgut's [canvasreceive]. check out the pdtk_canvas_motion{}

[PD] Getting pointer coords in patcher windows

2016-12-08 Thread Derek Kwan
Hello, Apologies in advance, bit new to Tcl/Tk, but I'm trying to get the pointer coordinates of the mouse for an external (yes, Cyclone) via Tcl for both the currently active patcher window and the window in which the external object class was instantiated. The latter sounds trickier and I