Window —
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) |
set window default size
| windowSetDefaultSize | :: w | :: Int | :: Int | :: IO () |
| w | height | width |
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 (
destory transient window with parent
| windowSetDestroyWithParent | :: w | :: Bool | :: IO () |
| w | b |
set border widths
| windowSetFrameDimensions | :: w | :: Int | :: Int | :: Int | :: Int | :: IO () |
| w | left | top | right | bottom |