wxcore-0.92.2.0: wxHaskell core

Copyright(c) Daan Leijen 2003
LicensewxWindows
Maintainerwxhaskell-devel@lists.sourceforge.net
Stabilityprovisional
Portabilityportable
Safe HaskellNone
LanguageHaskell98

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

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 :: Style Source

The default frame style for a normal Dialog.

Status bar