:mod:`pygame2.sdl.wm` -- SDL window manager wrapper module
==========================================================

Pygame SDL window manager wrapper module.

.. module:: pygame2.sdl.wm
   :synopsis: SDL window manager wrapper module

Module Functions
----------------
.. function:: get_caption () -> str, str

  Gets the caption of the current SDL window.

  Gets the title-bar caption and icon name (if any) of the display
  window. If not set, any of the values might be None.



.. function:: get_info () -> dict

  Gets operating system and window manager specific information about the
  current SDL window.



.. function:: grab_input (mode) -> int

  Advices the window manager to let the window grab the mouse and keyboard
  input focus (or release it). The function returns the previously set mode.



.. function:: iconify_window () -> bool

  Advices the window manager to iconify the window and returns, whether the
  operation was successful or not.



.. function:: set_caption (title[, iconname]) -> None

  Sets the caption of the current SDL window.

  Sets the title-bar caption and optional icon name (or description)
  of the display window.



.. function:: set_icon (surface[, mask]) -> None

  Sets the window manager icon to be used by the window.



.. function:: toggle_fullscreen (bool) -> bool

  Tries to toggle the fullscreen mode for the SDL window and
  returns, whether the operation was successful or not.




