Re: [R] [tcltk] binding two functions to one event

2025-01-22 Thread re...@meer.net
Thank you very much for your solution. It works for regular X events also. It never occurred to me that the argument to bind could be anything but a procedure name. Quoting peter dalgaard : This is in the obscure corners of the tcltk interface, as I am sure you already realized... I'm not

Re: [R] [tcltk] binding two functions to one event

2025-01-21 Thread peter dalgaard
This is in the obscure corners of the tcltk interface, as I am sure you already realized... I'm not even sure whether the "+" in bind +script is syntactically an operator or part of the command. However, it is usually not right to define named functions on the Tcl side and mix them with t