In message <[EMAIL PROTECTED]>, Keith Owens wrote:
>On Sun, 13 Jan 2002 16:54:41 +0100,
>Bernd Petrovitsch <[EMAIL PROTECTED]> wrote:
>>I added mouse wheel support to the X11 configuration program.
>>It is the straight forward solution : just assign the existing
>>actions to the wheel buttons.
>>
>>--- linux-2.4.17/scripts/tkgen.c-orig Sun Jan 13 15:55:11 2002
>>+++ linux-2.4.17/scripts/tkgen.c Sun Jan 13 16:02:34 2002
>>@@ -197,6 +197,7 @@
>> * previous options
>> */
>> printf( "\tbind all <Alt-n> \"puts \\\"no more menus\\\" \"\n");
>>+ printf( "\tbind $w <Alt-Button-5> \"puts \\\"no more menus\\\" \"\n"
>);
>> }
>> else
>> {
>>@@ -204,6 +205,7 @@
>> * I should be binding to $w not all - but if I do nehat I get the e
>rror "unknown path"
>> */
>> printf( "\tbind all <Alt-n> $nextscript\n");
>>+ printf( "\tbind $w <Alt-Button-5> $nextscript\n");
>
>Alt-n is bound to all for nextscript but you only bind Alt-Button-5 to
>the current window. Any reason for not using all on Alt-Button-5?
Yup - it does not trigger the error mentioned in the comment above.
Actually it doesn't work at all with "all" instead of "$w" in the second
case ("Alt-Button-5" acts like "Button-5").
In the first case "all" makes no visible difference (at least for
me).
Since I'm not a tk/tcl programmer I've no idea why it behaves that
way ....
Bernd
--
Bernd Petrovitsch Email : [EMAIL PROTECTED]
g.a.m.s gmbh Fax : +43 1 205255-900
Prinz-Eugen-Stra�e 8 A-1040 Vienna/Austria/Europe
LUGA : http://www.luga.at
_______________________________________________
kbuild-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/kbuild-devel