Copyright | (c) Daan Leijen 2003 |
---|---|
License | wxWindows |
Maintainer | wxhaskell-devel@lists.sourceforge.net |
Stability | provisional |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
Frame utility functions.
- frameCreateTopFrame :: String -> IO (Frame ())
- frameCreateDefault :: String -> IO (Frame ())
- frameSetTopFrame :: Frame a -> IO ()
- frameDefaultStyle :: Style
- 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 :: Style
- statusBarCreateFields :: Frame a -> [Int] -> IO (StatusBar ())
Frame
frameCreateTopFrame :: String -> IO (Frame ()) Source #
Create a default frame and make it the top-level window.
frameSetTopFrame :: Frame a -> IO () Source #
Set the top-level frame (calls cAppSetTopWindow
).
frameDefaultStyle :: Style 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
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.
Dialog
dialogDefaultStyle :: Style Source #
The default frame style for a normal Dialog
.