[PD-dev] toxy & 0.38

Krzysztof Czaja czaja at chopin.edu.pl
Thu Nov 18 14:05:33 CET 2004


hi Tim,

the easiest short-term solution would be commenting out the line

         menu_fixwindowmenu [lindex $i 1]

in proc pdtk_fixwindowmenu of pd.tk.  This line's task is duplicated
with canvas menu -postcommand, anyway, so it is not necessary.

If you do not want to mess with pd.tk, the pdtk_fixwindowmenu may
be redefined using tot (still a short-term solution).

A permanent solution: another message to canvas ('hidemenu'?).

Krzysztof

Tim Blechmann wrote:
>>I think, the menu of a *main* patch should never be destroyed,
>>without updating the $menu_windowlist variable.  Same in .37,
>>but .38 seems to be less forgiving.
> 
> 
> hm ... i'm not really familiar with the tcl/tk code ... is it possible
> to do that from toxy or will i have to do that in pd itself?





More information about the Pd-dev mailing list