Copyright | (c) David Himmelstrup 2005 |
---|---|
License | BSD-like |
Maintainer | lemmih@gmail.com |
Stability | provisional |
Portability | portable |
Safe Haskell | None |
Language | Haskell98 |
Graphics.UI.SDL.WindowManagement
Description
- data GrabMode
- setCaption :: String -> String -> IO ()
- rawSetCaption :: Maybe String -> Maybe String -> IO ()
- getCaption :: IO (Maybe String, Maybe String)
- iconifyWindow :: IO Bool
- tryToggleFullscreen :: Surface -> IO Bool
- toggleFullscreen :: Surface -> IO ()
- grabInput :: Bool -> IO ()
- queryGrabMode :: IO GrabMode
Documentation
setCaption :: String -> String -> IO () #
Sets the window title and icon name.
rawSetCaption :: Maybe String -> Maybe String -> IO () #
Sets the window title and icon name. Use Nothing
to unset.
iconifyWindow :: IO Bool #
Iconify/Minimise the window.
tryToggleFullscreen :: Surface -> IO Bool #
Toggles fullscreen mode. Returns False
on error.
toggleFullscreen :: Surface -> IO () #
Toggles fullscreen mode. Throws an exception on error.
Grabbing means that the mouse is confined to the application window, and nearly all keyboard input is passed directly to the application, and not interpreted by a window manager, if any.
queryGrabMode :: IO GrabMode #
Returns the current grabbing mode.