[PD-dev] Option key on the mac
Hans-Christoph Steiner
hans at eds.org
Thu Apr 8 23:30:32 CEST 2004
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 at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 1556 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20040408/1eebe1b3/attachment.bin>
More information about the Pd-dev
mailing list