/usr/share/saods9/blt3.0/paneset.tcl is in saods9-blt 7.2+dfsg-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | namespace eval blt::Paneset {
set buttonPressed 0
proc Initialize {} {
}
}
bind PanesetSash <Enter> {
if { !$blt::Paneset::buttonPressed } {
%W activate
}
}
bind PanesetSash <Leave> {
if { !$blt::Paneset::buttonPressed } {
%W deactivate
}
}
bind PanesetSash <KeyPress-Left> {
%W move -10 0
}
bind PanesetSash <KeyPress-Right> {
%W move 10 0
}
bind PanesetSash <KeyPress-Up> {
%W move 0 -10
}
bind PanesetSash <KeyPress-Down> {
%W move 0 10
}
bind PanesetSash <ButtonPress-1> {
set blt::Paneset::buttonPressed 1
%W anchor %X %Y
}
bind PanesetSash <B1-Motion> {
%W mark %X %Y
}
bind PanesetSash <ButtonRelease-1> {
set blt::Paneset::buttonPressed 0
%W set %X %Y
}
|