[PD] Tcl plugin add a menu to .menubar on Windows doesn't work

abel.jerome at free.fr abel.jerome at free.fr
Thu Oct 5 14:54:00 CEST 2017


When I write a simple tcl plugin to display a menu after the "Help" menu, it appears on Ubuntu and Mac os X, but not in Windows.

Example :
set myfantasticmenu "fantastic"
menu .menubar.$myfantasticmenu
.menubar add cascade -label [_ [string totitle $myfantasticmenu]] -menu .menubar.$myfantasticmenu
.menubar.$myfantasticmenu add command -label "malinette.info" -command {menu_openfile {http://malinette.info}}

Any idea ?



More information about the Pd-list mailing list