Fulvio writes:
> bind $w {
> eval [excludeTextWidget %W]
> set ::showGameInfo [expr {! $::showGameInfo}]
> ::toggleGameInfo
> break
> }
>
>
> The "eval [" line disable the shortcut for text widgets (without
> this line, writing a comment with a comma will
Igor Sosa Mayor wrote:
> Hi again,
>
> sorry for asking again...
>
> I wnat to bind to showGameInfo. I put:
>
> bind $w {
> toggleGameInfo
> }
>
> or
>
> bind $w {
> ::toggleGameInfo
> }
>
> I also tried F12 (disabling the later bind to corresp
Hi again,
sorry for asking again...
I wnat to bind to showGameInfo. I put:
bind $w {
toggleGameInfo
}
or
bind $w {
::toggleGameInfo
}
I also tried F12 (disabling the later bind to correspondence) without
any success...
Any hi
Fulvio writes:
> Igor Sosa Mayor wrote:
>> Hi again,
>>
>> if I do
>> grep -r bind * | grep 'Control-R'
>>
>> on your code, I cannot see that the shortcut Ctrl-R is bound to
>> anything. Would be it possible to bind it to 'flip/rotate board'?
> Yes.
> There is a file tcl/keyboard.tcl for keyboard
Igor Sosa Mayor wrote:
> Hi again,
>
> if I do
> grep -r bind * | grep 'Control-R'
>
> on your code, I cannot see that the shortcut Ctrl-R is bound to
> anything. Would be it possible to bind it to 'flip/rotate board'?
Yes.
There is a file tcl/keyboard.tcl for keyboard shortcuts:
https://sourceforg