| Safe Haskell | Safe-Infered | 
|---|
Sifflet.UI.RPanel
Description
Rowed Panel. Expandable framed panel with a two-dimensional layout (rows of widgets, but not with aligned columns like in a table).
- data RPanel
 - newRPanel :: String -> Int -> Int -> Int -> IO RPanel
 - rpanelId :: RPanel -> String
 - rpanelRoot :: RPanel -> GtkFrame
 - rpanelContent :: RPanel -> [[String]]
 - rpanelAddWidget :: WidgetClass widget => RPanel -> String -> widget -> IO RPanel
 - rpanelAddWidgets :: WidgetClass widget => RPanel -> [(String, widget)] -> IO RPanel
 - rpanelNewRow :: RPanel -> IO RPanel
 - rpanelAddRows :: WidgetClass widget => RPanel -> [[(String, widget)]] -> IO RPanel
 
Documentation
rpanelRoot :: RPanel -> GtkFrameSource
rpanelContent :: RPanel -> [[String]]Source
rpanelAddWidget :: WidgetClass widget => RPanel -> String -> widget -> IO RPanelSource
Add a single named widget to the RPanel
rpanelAddWidgets :: WidgetClass widget => RPanel -> [(String, widget)] -> IO RPanelSource
Given a list of (name, widget) pairs, add each of the widgets and its name to the rpanel
rpanelNewRow :: RPanel -> IO RPanelSource
Force the RPanel to begin a new row
rpanelAddRows :: WidgetClass widget => RPanel -> [[(String, widget)]] -> IO RPanelSource
Given a list of lists, each sublist representing a row of widgets, add the widgets to the RPanel, preserving the row structure as much as possible. (Row structure will be broken if any intended row is too wide.)