sifflet-lib-1.0: Library of modules shared by sifflet and its tests and its exporters.Source codeContentsIndex
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).
Synopsis
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
data RPanel Source
newRPanel :: String -> Int -> Int -> Int -> IO RPanelSource
rpanelId :: RPanel -> StringSource
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.)
Produced by Haddock version 2.6.1