wx-0.12.1.6: wxHaskell

Portabilityportable
Stabilityprovisional
Maintainerwxhaskell-devel@lists.sourceforge.net

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 whcih is the child of some existing parent window.

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

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