wxcore-0.12.1.4: wxHaskell core

Portabilityportable
Stabilityprovisional
Maintainerwxhaskell-devel@lists.sourceforge.net

Graphics.UI.WXCore.Frame

Contents

Description

Frame utility functions.

Synopsis

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 :: IntSource

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 PointSource

Retrieve the current mouse position relative to the window position.

windowGetScreenPosition :: Window a -> IO PointSource

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 :: IntSource

The default frame style for a normal Dialog.

Status bar