: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

  Gets the caption of the current SDL window.


.. 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 (str) -> None

  Sets the caption of the current SDL window.


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

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

  .. todo::

           Not fully implemented.



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

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




