Thanks, that's a nice idea. I think it doesn't work in windows (I don't get
any output from key combinations), but it might work on other systems.

jmmmp

2018-02-18 21:31 GMT+01:00 Ingo Stock <m...@ingostock.de>:

> Hi Jmmmp,
>
> i think it can be done with a message. On my system 22 is the key up
> code for control + v. When this code is output by [keyup], a [editmode
> 0( message sent to the canvas ends edit mode. See demo patch attached.
>
> best wishes, ingo
>
>
> On 02/18/2018 08:05 PM, João Pais wrote:
> > Hello list,
> >
> > I had a question for any tcl-plugin programmer out there: is it possible
> > (and easy) to make a GUI plugin that would avoid Pd going into edit mode
> > when the paste key combination is pressed? The reason is, while using a
> > patch with [flatgui/entry], the patch is always going into edit mode.
> >
> > I would imagine it could work in one of these ways, but I can't judge
> > which is the easiest:
> > - remove the key binding that makes ctrl+v go into edit mode
> > or
> > - keep the key binding, but after opening edit mode, it closes it again
> >
> > I tried IO's kiosk plugin, but it didn't help with this particular case.
> >
> > Best regards,
> >
> > Jmmmp
> > <https://www.facebook.com/jmmmpais>
> >
> >
> > _______________________________________________
> > Pd-list@lists.iem.at mailing list
> > UNSUBSCRIBE and account-management -> https://lists.puredata.info/
> listinfo/pd-list
> >
>
_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list

Reply via email to