[PD] support for scrollwheel in patchers
Hans-Christoph Steiner
hans at eds.org
Thu Mar 25 23:48:37 CET 2004
Hmm, it didn't work for me on MacOS X 10.2.8, Pd 0.37.1, and Tcl 8.4.5.
It would be nice tho.
.hc
On Wednesday, Mar 24, 2004, at 00:36 America/New_York, Mathieu Bouchard
wrote:
>
> in u_main.tk (pd.tk), at the end of proc pdtk_canvas_new, add this:
>
> bind $name.c <Button-4> "$name.c yview scroll -1 units"
> bind $name.c <Button-5> "$name.c yview scroll +1 units"
>
> This enables the mouse wheel in patchers. Of course I will later
> provide a
> means to reconfigure it to do something else depending on what is most
> useful to a given user. (Some would like numberboxes to be
> scrollenabled,
> but that's conflicting with the above setting, so i'd give an option)
>
> ________________________________________________________________
> Mathieu Bouchard http://artengine.ca/matju
>
>
> _______________________________________________
> PD-list mailing list
> PD-list at iem.at
> http://iem.at/cgi-bin/mailman/listinfo/pd-list
More information about the Pd-list
mailing list