Name

Window —

Synopsis

windowNew:: IO Window
windowActivateDefault:: WindowClass w => w -> IO Bool
windowActivateFocus:: WindowClass w => w -> IO Bool
windowDeiconify:: WindowClass w => w -> IO ()
windowGetResizable:: WindowClass w => w -> IO Bool
windowIconify:: WindowClass w => w -> IO ()
windowMaximize:: WindowClass w => w -> IO ()
windowSetDecorated:: WindowClass w => w -> Bool -> IO ()
windowSetDefaultSize:: WindowClass w => w -> Int -> Int -> IO ()
windowSetDestroyWithParent:: WindowClass w => w -> Bool -> IO ()
windowSetFrameDimensions:: WindowClass w => w -> Int -> Int -> Int -> Int -> IO ()

windowSetGeometryHints <no type information>

windowSetModal:: WindowClass w => w -> Bool -> IO ()
windowSetPosition:: WindowClass w => w -> WindowPosition -> IO ()
windowSetResizable:: WindowClass w => w -> Bool -> IO ()
windowSetRole:: WindowClass w => w -> String -> IO ()
windowSetTitle:: WindowClass w => w -> String -> IO ()
windowSetTransientFor:: (WindowClass win, WindowClass parent) => win -> parent -> IO ()
windowStick:: WindowClass w => w -> IO ()
windowUnmaximize:: WindowClass w => w -> IO ()
windowUnstick:: WindowClass w => w -> IO ()
onFrameEvent:: WindowClass w => w -> (Event -> IO Bool) -> IO (ConnectId w)
onSetFocus:: (WindowClass w, WidgetClass foc) => w -> (foc -> IO ()) -> IO (ConnectId w)

Todo

missing but possibly useful methods are commented out

Constructors

windowNew

Create a new window of the given type.

windowNew

Methods

windowActivateDefault

dunno

windowActivateDefault:: w:: IO Bool
w

windowActivateFocus

dunno

windowActivateFocus:: w:: IO Bool
w

windowDeiconify

restore the window

windowDeiconify:: w:: IO ()
w

windowGetResizable

Retrieve the value set by windowSetResizable.

windowGetResizable:: w:: IO Bool
w

windowIconify

minimize the window

windowIconify:: w:: IO ()
w

windowMaximize

maximize the window

windowMaximize:: w:: IO ()
w

windowSetDecorated

remove the border

windowSetDecorated:: w:: Bool:: IO ()
wb

windowSetDefaultSize

set window default size

windowSetDefaultSize:: w:: Int:: Int:: IO ()
wheightwidth

Sets the default size of a window. If the window's "natural" size (its size request) is larger than the default, the default will be ignored. More generally, if the default size does not obey the geometry hints for the window (

windowSetDestroyWithParent

destory transient window with parent

windowSetDestroyWithParent:: w:: Bool:: IO ()
wb

windowSetFrameDimensions

set border widths

windowSetFrameDimensions:: w:: Int:: Int:: Int:: Int:: IO ()
wlefttoprightbottom
no type info on symbol windowSetGeometryHints

windowSetModal

make a window application modal

windowSetModal:: w:: Bool:: IO ()
wm

windowSetPosition

set the window position policy

windowSetPosition:: w:: WindowPosition:: IO ()
wpos

windowSetResizable

Sets whether the user can resize a window.

windowSetResizable:: w:: Bool:: IO ()
wres

Windows are user resizable by default.

windowSetRole

set role (additional window name for the WM)

windowSetRole:: w:: String:: IO ()
wstr

windowSetTitle

set the title string of the given window

windowSetTitle:: w:: String:: IO ()
wstr

windowSetTransientFor

set transient window

windowSetTransientFor:: win:: parent:: IO ()
wp

windowStick

show the window on every workspace

windowStick:: w:: IO ()
w

windowUnmaximize

unmaximize the window

windowUnmaximize:: w:: IO ()
w

windowUnstick

do not show the window on every workspace

windowUnstick:: w:: IO ()
w

Signals

onFrameEvent

onFrameEvent:: w:: (Event -> IO Bool):: IO (ConnectId w)

onSetFocus

onSetFocus:: w:: (foc -> IO ()):: IO (ConnectId w)