Aaahh, thank you for bringing back my Option key... I think the key bindings are due for a bit of a cleanup in general, especially if we can get Pd/Win32 on Tcl 8.4. I have worked on Cecilia (http://cecilia.sf.net ), which is also a cross-platform Tcl app, and it uses $tcl_platform to map out the key_bindings explicitly for each platform. I thought it was easier to deal with since I could think in terms of the platform I was working on and ignore the other sections.
Speaking on Cecilia, the new version also uses AppMain.tcl. You can download it here: http://sourceforge.net/project/ showfiles.php?group_id=41431&package_id=106278 It has to be in /Applications in order to run.
.hc
On Thursday, Apr 8, 2004, at 15:37 America/New_York, 0001 wrote:
hi I don't know when it got broken, maybe tcl/tk 8.5 has changed ?
this line in pd.tk
bind $name.c <Alt-Key> {pdtk_canvas_altkey %W %K %A}
should be something like
if {$pd_nt == 2} { bind $name.c <Option-Key> {pdtk_canvas_altkey %W %K %A} } else{ bind $name.c <Alt-Key> {pdtk_canvas_altkey %W %K %A} }
... gerard
PD-dev mailing list PD-dev@iem.at http://iem.at/cgi-bin/mailman/listinfo/pd-dev
________________________________________________________________________ ____
"[W]e have invented the technology to eliminate scarcity, but we are deliberately throwing it away to benefit those who profit from scarcity." -John Gilmore