| Copyright | (c) Daan Leijen 2003 | 
|---|---|
| License | wxWindows | 
| Maintainer | wxhaskell-devel@lists.sourceforge.net | 
| Stability | provisional | 
| Portability | portable | 
| Safe Haskell | None | 
| Language | Haskell98 | 
Graphics.UI.WXCore.Frame
Contents
Description
Frame utility functions.
- frameCreateTopFrame :: String -> IO (Frame ())
 - frameCreateDefault :: String -> IO (Frame ())
 - frameSetTopFrame :: Frame a -> IO ()
 - frameDefaultStyle :: Int
 - frameCenter :: Frame a -> IO ()
 - frameCenterHorizontal :: Frame a -> IO ()
 - frameCenterVertical :: Frame a -> IO ()
 - windowGetRootParent :: Window a -> IO (Window ())
 - windowGetFrameParent :: Window a -> IO (Window ())
 - windowGetMousePosition :: Window a -> IO Point
 - windowGetScreenPosition :: Window a -> IO Point
 - windowChildren :: Window a -> IO [Window ()]
 - dialogDefaultStyle :: Int
 - statusBarCreateFields :: Frame a -> [Int] -> IO (StatusBar ())
 
Frame
frameCreateTopFrame :: String -> IO (Frame ()) Source
Create a default frame and make it the top-level window.
frameCreateDefault :: String -> IO (Frame ()) Source
Create a frame with default settings.
frameSetTopFrame :: Frame a -> IO () Source
Set the top-level frame (calls cAppSetTopWindow).
frameDefaultStyle :: Int Source
The default frame style for a normal top-level Frame.
frameCenter :: Frame a -> IO () Source
Center the frame on the screen.
frameCenterHorizontal :: Frame a -> IO () Source
Center the frame horizontally on the screen.
frameCenterVertical :: Frame a -> IO () Source
Center the frame vertically on the screen.
Window
windowGetRootParent :: Window a -> IO (Window ()) Source
The ultimate root parent of the widget.
windowGetFrameParent :: Window a -> IO (Window ()) Source
The parent frame or dialog of a widget.
windowGetMousePosition :: Window a -> IO Point Source
Retrieve the current mouse position relative to the window position.
windowGetScreenPosition :: Window a -> IO Point Source
Get the window position relative to the origin of the display.
windowChildren :: Window a -> IO [Window ()] Source
Get the children of a window
Dialog
dialogDefaultStyle :: Int Source
The default frame style for a normal Dialog.