/usr/share/amsn/utils/pixmapmenu/bindings.tcl is in amsn-data 0.98.9-1.
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 | proc setupBindings {} {
set substList [list # a b c d f h i k m o p s t w x y A B D E K N P R S T X Y]
set EventList \
[list FocusIn Enter Leave Motion ButtonPress ButtonRelease space Return Escape Left Right Up Down KeyPress]
set mapping [list "%%%%" "%%"]
foreach char $substList {
lappend mapping "%%$char" "\[list %$char\]"
}
lappend mapping "%%W" { [winfo parent %W] }
foreach event $EventList {
set command "eval \[string map { $mapping } \[bind Menu <$event>\]\]"
bind Pixmapmenu <$event> "$command"
}
}
setupBindings
bind Pixmapmenu <Configure> {
%W Configure %w %h
}
|