|
Dear Jean-Claude,
I run wikit in localmode on a linux-box. My scrollmouse is supported
by generating mouseclicks on button 4 and 5.
when I use the mousewheel to scroll inside a wikitpage and the text
scrolls by is a link, then that link is fired and the page switches.
in wikit.vfs/lib/wikit/gui.tcl line 60 proc Expand_Tk {str} {
...
if {$a == "g"} {
set id [LookupPage $c]
$D tag bind $tag <ButtonPress> "Wikit::showLinkedPage $id"
}
should be changed to
...
$D tag bind $tag <ButtonPress-1> "Wikit::showLinkedPage $id"
Of cource you could check for the platform or put lines for
binding button-2 and button-3, but I dont think that is necessary
Thank you for all your great programs
Albrecht Mucha<[email protected]>
Bad Salzdetfurth Germany |