wx-0.92.1.0: wxHaskell

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

Graphics.UI.WX.Frame

Contents

Description

Synopsis

Frames

type Frame a = TopLevelWindow (CFrame a)

Pointer to an object of type Frame, derived from TopLevelWindow.

frame :: [Prop (Frame ())] -> IO (Frame ()) Source

Create a top-level frame window.

frameFixed :: [Prop (Frame ())] -> IO (Frame ()) Source

Create a top-level frame window that is not resizeable.

frameTool :: [Prop (Frame ())] -> Window a -> IO (Frame ()) Source

Create a tool window; floats on the parent and has a small caption.

frameEx :: Style -> [Prop (Frame ())] -> Window a -> IO (Frame ()) Source

Create a top-level frame window in a custom style.

frameLoadRes :: FilePath -> String -> [Prop (Frame ())] -> IO (Frame ()) Source

Complete the construction of a top level frame which has been loaded from a resource file.

frameLoadChildRes :: Window a -> FilePath -> String -> [Prop (Frame ())] -> IO (Frame ()) Source

Complete the construction of a frame which is the child of some existing parent window.

initialFrame :: (Id -> Rect -> String -> [Prop (Window w)] -> Style -> a) -> [Prop (Window w)] -> Style -> a Source

initial Frame flags

MDI Frames

type MDIParentFrame a = Frame (CMDIParentFrame a)

Pointer to an object of type MDIParentFrame, derived from Frame.

type MDIChildFrame a = Frame (CMDIChildFrame a)

Pointer to an object of type MDIChildFrame, derived from Frame.

mdiParentFrame :: [Prop (MDIParentFrame ())] -> IO (MDIParentFrame ()) Source

Create an MDI parent frame.

mdiChildFrame :: MDIParentFrame a -> [Prop (MDIChildFrame ())] -> IO (MDIChildFrame ()) Source

Create a MDI child frame.

mdiParentFrameEx :: Window a -> Style -> [Prop (MDIParentFrame ())] -> IO (MDIParentFrame ()) Source

Create an MDI parent frame with a custom style.

mdiChildFrameEx :: MDIParentFrame a -> Style -> [Prop (MDIChildFrame ())] -> IO (MDIChildFrame ()) Source

Create a MDI child frame with a custom style.

Operations

activeChild :: ReadAttr (MDIParentFrame a) (MDIChildFrame ()) Source

Return the active child frame (objectIsNull when no child is active)

activateNext :: MDIParentFrame a -> IO () Source

Activate the next child frame.

activatePrevious :: MDIParentFrame a -> IO () Source

Activate the previous child frame

arrangeIcons :: MDIParentFrame a -> IO () Source

Arrange iconized mdi child frames.

cascade :: MDIParentFrame a -> IO () Source

Cascade the child frames.

tile :: MDIParentFrame a -> IO () Source

Tile the child frames

Internal