Copyright | (c) Daan Leijen 2003 (c) Jeremy O'Donoghue 2007 |
---|---|
License | wxWindows |
Maintainer | wxhaskell-devel@lists.sourceforge.net |
Stability | provisional |
Portability | portable |
Safe Haskell | None |
Language | Haskell98 |
- type Frame a = TopLevelWindow (CFrame a)
- frame :: [Prop (Frame ())] -> IO (Frame ())
- frameFixed :: [Prop (Frame ())] -> IO (Frame ())
- frameTool :: [Prop (Frame ())] -> Window a -> IO (Frame ())
- frameEx :: Style -> [Prop (Frame ())] -> Window a -> IO (Frame ())
- frameLoadRes :: FilePath -> String -> [Prop (Frame ())] -> IO (Frame ())
- frameLoadChildRes :: Window a -> FilePath -> String -> [Prop (Frame ())] -> IO (Frame ())
- initialFrame :: (Id -> Rect -> String -> [Prop (Window w)] -> Style -> a) -> [Prop (Window w)] -> Style -> a
- type MDIParentFrame a = Frame (CMDIParentFrame a)
- type MDIChildFrame a = Frame (CMDIChildFrame a)
- mdiParentFrame :: [Prop (MDIParentFrame ())] -> IO (MDIParentFrame ())
- mdiChildFrame :: MDIParentFrame a -> [Prop (MDIChildFrame ())] -> IO (MDIChildFrame ())
- mdiParentFrameEx :: Window a -> Style -> [Prop (MDIParentFrame ())] -> IO (MDIParentFrame ())
- mdiChildFrameEx :: MDIParentFrame a -> Style -> [Prop (MDIChildFrame ())] -> IO (MDIChildFrame ())
- activeChild :: ReadAttr (MDIParentFrame a) (MDIChildFrame ())
- activateNext :: MDIParentFrame a -> IO ()
- activatePrevious :: MDIParentFrame a -> IO ()
- arrangeIcons :: MDIParentFrame a -> IO ()
- cascade :: MDIParentFrame a -> IO ()
- tile :: MDIParentFrame a -> IO ()
Frames
type Frame a = TopLevelWindow (CFrame a) #
Pointer to an object of type Frame
, derived from TopLevelWindow
.
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