Safe Haskell | None |
---|---|
Language | Haskell2010 |
A "panel" to be shown on the Function Editor, for adjusting the arguments of the function being edited -- adding and deleting arguments, or modifying their "kind" (number of inlets, needed for higher order functions)
- type ArgSpecAction = [ArgSpec] -> IO ()
- data EditArgsPanel
- makeEditArgsPanel :: CBMgr -> [ArgSpec] -> ArgSpecAction -> IO EditArgsPanel
- editArgsPanelRoot :: EditArgsPanel -> PanelRoot
- expandToFit :: (WidgetClass v, WidgetClass w) => v -> w -> IO ()
Documentation
type ArgSpecAction = [ArgSpec] -> IO () Source
data EditArgsPanel Source
makeEditArgsPanel :: CBMgr -> [ArgSpec] -> ArgSpecAction -> IO EditArgsPanel Source
Create an EditArgsPanel It currently returns a EditArgsPanel object, and you can put the root of it into a container, e.g., set window [containerChild := editArgsPanelRoot panel]
Frame | | +------------------------------+ | | | VBox | | | | +--------------------------+ | | | | | Table (n+2 rows)x(3 cols)| | | | | | +----------------------+ | | | | | | | | | | | | | | | (arguments) | | | | | | | +----------------------+ | | | | | | | | | | | | HButtonBox | | | | | | +----------------------+ | | | | | | | (buttons) | | | | | | | +----------------------+ | | | | | | | | | | | | Label | | | | | | +----------------------+ | | | | | | | (status messages) | | | | | | | +----------------------+ | | | | | +--------------------------+ | | | +------------------------------+ | +----------------------------------+
editArgsPanelRoot :: EditArgsPanel -> PanelRoot Source
expandToFit :: (WidgetClass v, WidgetClass w) => v -> w -> IO () Source
Resize a widget to be at least as big as a(nother) widget. Normally the widget being resized is one that contains the other.