6

Where can i find a list of all the window manager protocol atoms?

I have these few:

  • WM_DELETE_WINDOW
  • WM_SAVE_YOURSELF
  • WM_TAKE_FOCUS

They are commonly used when incepting window manager events in Python's Tkinter in the style of:

widget.protocol("WM_DELETE_WINDOW", handler)

Where can i get a complete list of these?

Gary Willoughby
  • 50,926
  • 41
  • 133
  • 199

1 Answers1

1

See Extended Window Manager Hints.

(based on Andrey Sidorov's comment)

Community
  • 1
  • 1
PR1
  • 47
  • 1
  • 8
  • This isn't complete – it doesn't, for instance, have `WM_SAVE_YOURSELF`. Also, this is a link-only answer. – wizzwizz4 Dec 20 '19 at 13:34