Re: [PD] Tcl-tk plugin to avoid paste going to edit mode

2018-02-19 Thread João Pais
thanks, option 1 worked. Option 1 is easier: > > # this is the default in pd_bindings.tcl > bind all <$::modifier-Key-v> {menu_send %W paste} > > # disabled > bind all <$::modifier-Key-v> {break} > > Option 2 requires either overriding ::pd_menucommands::menu_send and > intercepting the

Re: [PD] Tcl-tk plugin to avoid paste going to edit mode

2018-02-18 Thread Dan Wilcox
Option 1 is easier: # this is the default in pd_bindings.tcl bind all <$::modifier-Key-v> {menu_send %W paste} # disabled bind all <$::modifier-Key-v> {break} Option 2 requires either overriding ::pd_menucommands::menu_send and intercepting the paste message or changing the paste

[PD] Tcl-tk plugin to avoid paste going to edit mode

2018-02-18 Thread João Pais
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