Safe Haskell | None |
---|---|
Language | Haskell98 |
UI.NCurses.Panel
- data Panel
- newPanel :: Window -> Curses Panel
- deletePanel :: Panel -> Curses ()
- refreshPanels :: Curses ()
- panelAbove :: Panel -> Curses (Maybe Panel)
- panelBelow :: Panel -> Curses (Maybe Panel)
- panelTop :: Curses (Maybe Panel)
- panelBottom :: Curses (Maybe Panel)
- showPanel :: Panel -> Curses ()
- hidePanel :: Panel -> Curses ()
- panelHidden :: Panel -> Curses Bool
- movePanel :: Panel -> Integer -> Integer -> Curses ()
- raisePanel :: Panel -> Curses ()
- lowerPanel :: Panel -> Curses ()
- getPanelWindow :: Panel -> Curses Window
- replacePanelWindow :: Panel -> Window -> Curses ()
Documentation
data Panel
deletePanel :: Panel -> Curses ()
Permanently removes the given panel from the panel stack.
refreshPanels :: Curses ()
Updates windows to account for the current panel stack order. The user
must call render
before changes are drawn to the screen.
panelAbove :: Panel -> Curses (Maybe Panel)
panelAbove p
retrieve the panel above p.
panelBelow :: Panel -> Curses (Maybe Panel)
panelAbove p
retrieve the panel below p.
panelBottom :: Curses (Maybe Panel)
Retrieve the bottom–most panel in the stack.
hidePanel :: Panel -> Curses ()
Temporarily removes the given panel from the panel stack. Use
showPanel
to restore it.
panelHidden :: Panel -> Curses Bool
Checks if the given panel is currently visible.
Move the panel so its upper–left corner is at the new coordinates.
raisePanel :: Panel -> Curses ()
Raise a bottom to the top of the stack.
lowerPanel :: Panel -> Curses ()
Lower a panel to the bottom of the stack.
getPanelWindow :: Panel -> Curses Window
Retrieves which window a panel is drawn to.
replacePanelWindow :: Panel -> Window -> Curses ()
Replaces which window a panel is drawn to.