The Wm mixin provides access to the window manager, allowing an application to control such things as the title, geometry and icon of a top-level window, the way it is resized, and how it responds to window manager protocols. It is mixed into Tk and Toplevel, so its methods are available on every top-level window. Each method has two equivalent spellings: a short name and a wm_-prefixed name (for example, title() and wm_title()). See also The window manager.
Store name, which should be the name of the host on which the application is running, in the window’s WM_CLIENT_MACHINE property for use by the window or session manager.
Store value in the window’s WM_COMMAND property for use by the window or session manager; it should be a list giving the words of the command used to invoke the application.
Return the platform-specific window identifier for the outermost decorative frame containing the window, if the window manager has reparented it into such a frame; otherwise return the identifier of …
Register func as the handler for the window manager protocol name, an atom such as 'WM_DELETE_WINDOW', 'WM_SAVE_YOURSELF' or 'WM_TAKE_FOCUS'; func is then called whenever the window manager sends a m…
Store name, which should be the name of the host on which the application is running, in the window’s WM_CLIENT_MACHINE property for use by the window or session manager.
Store value in the window’s WM_COMMAND property for use by the window or session manager; it should be a list giving the words of the command used to invoke the application.
Return the platform-specific window identifier for the outermost decorative frame containing the window, if the window manager has reparented it into such a frame; otherwise return the identifier of …
Register func as the handler for the window manager protocol name, an atom such as 'WM_DELETE_WINDOW', 'WM_SAVE_YOURSELF' or 'WM_TAKE_FOCUS'; func is then called whenever the window manager sends a m…