...
The second binding is not working. Why?
On Wed, 6 Dec 2023 05:34:54 +0100, undroidwish wrote:
On 12/6/23 02:32, Luc wrote:**************************
...
The second binding is not working. Why?
Since you should use <Shift><Tab> instead. <Shift_R> is the actual key,
but <Shift> the qualifier state.
No.
bad event type or keysym "Shift"
while executing
"bind [set ::target_$x] <Shift><Tab> {p.navigate "up"; break}"
On 12/6/23 02:32, Luc wrote:
...
The second binding is not working. Why?
Since you should use <Shift><Tab> instead. <Shift_R> is the actual key,
but <Shift> the qualifier state.
Hi
Try:
## script start
pack [entry .en]
bind .en <Key> "tuwas %K"
proc tuwas {args} {
puts "the key is $args"
}
## script end
Now fous .en
Press <Shift><Tab>
Now you'll see the keysum.
I my case on linux it's ISO_Left_Tab
Regards
Manfred
A little strange that both the left and the right Shift keys generate ISO_Left_Tab.
But OK, that works for me.
On Wed, 6 Dec 2023 18:31:48 +0100, Manfred Stelzhammer wrote:
Hi
Try:
## script start
pack [entry .en]
bind .en <Key> "tuwas %K"
proc tuwas {args} {
puts "the key is $args"
}
## script end
Now fous .en
Press <Shift><Tab>
Now you'll see the keysum.
I my case on linux it's ISO_Left_Tab
Regards
Manfred
**************************
Yes. That works.
A little strange that both the left and the right Shift keys generate ISO_Left_Tab.
But OK, that works for me.
Problem solved. Thank you.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 498 |
Nodes: | 16 (2 / 14) |
Uptime: | 56:42:00 |
Calls: | 9,812 |
Calls today: | 14 |
Files: | 13,754 |
Messages: | 6,190,889 |