ParentContentsIndex
Graphics.UI.GIO.Window
Portability portable
Stability provisional
Maintainer ka2_mail@yahoo.com
Description
Windows
Synopsis
data Window
window :: [Prop Window] -> IO Window
dialog :: [Prop Window] -> Maybe Window -> IO Window
view :: Attr Window Size
visible :: Attr Window Bool
runDialog :: Window -> IO ()
showWindow :: Window -> IO ()
hideWindow :: Window -> IO ()
Documentation
data Window
A main window widget.
Instances
Titled Window
Scrollable Window
Dismissible Window
Deadly Window
Dimensions Window
Drawn Window
HasFont Window
Reactive Window
Activity Window
Resizeable Window
Paint Window
Able Window
Container Window
window :: [Prop Window] -> IO Window
Create a window
dialog
:: [Prop Window]
-> Maybe Window The owner window of the dialog being created. If this parameter is Nothing or is a Just handle of a window instead of dialog then the dialog owner is the process window. A dialog is always above its owner in the z-order and the system automatically destroys a dialog when its owner is destroyed. The dialog is automatically hidded when its owner is minimized.
-> IO Window
Create a modeless dialog box. If you want to make the dialog modal use runDialog function.
view :: Attr Window Size
The size of the current view area.
visible :: Attr Window Bool
The attribute controls whether the window is visible
runDialog :: Window -> IO ()
Blocks in a recursive main loop until the dialog is destroyed.
showWindow :: Window -> IO ()
Activates the window and displays it in its current size and position.
hideWindow :: Window -> IO ()
Hides the window and activates another window.
Produced by Haddock version 0.4