79570943

Date: 2025-04-12 21:15:23
Score: 2
Natty:
Report link

One other point in the bullets- shouldn't the underscores be dashes/hyphens?

Also- how does one code bindings for modifier keys, like the option key?

I want to do different amounts of processing, depending whether the Option key is held down during Command w keystroke.

I'm working in MacOS.

I've tried root.bind_all('<Alt-w>',func) and root.bind_all('<Alt-Command-w>',func) Neither works.

I'd check the event.state attribute with an appropriate modifier key mask in the callback func but the execution never gets there.( breakpoint not hit)

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: dday52