SDL-0.6.7.0: Binding to libSDL

Copyright(c) David Himmelstrup 2005
LicenseBSD-like
Maintainerlemmih@gmail.com
Stabilityprovisional
Portabilityportable
Safe HaskellNone
LanguageHaskell98

Graphics.UI.SDL.WindowManagement

Description

 
Synopsis

Documentation

data GrabMode #

Constructors

GrabQuery 
GrabOff 
GrabOn 
Instances
Eq GrabMode # 
Instance details

Defined in Graphics.UI.SDL.WindowManagement

Show GrabMode # 
Instance details

Defined in Graphics.UI.SDL.WindowManagement

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.

getCaption :: IO (Maybe String, Maybe String) #

Gets the window title and icon name.

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.

grabInput :: Bool -> IO () #

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.