Table —
The table widget is a container in which widgets can be aligned in cells.
tableNew:: Int -> Int -> Bool -> IO Table |
tableAttach:: (TableClass tb, WidgetClass w) => tb -> w -> Int -> Int -> Int -> Int -> [AttachOptions] -> [AttachOptions] -> Int -> Int -> IO () |
tableAttachDefaults:: (TableClass tb, WidgetClass w) => tb -> w -> Int -> Int -> Int -> Int -> IO () |
tableResize:: TableClass tb => tb -> Int -> Int -> IO () |
tableSetColSpacing:: TableClass tb => tb -> Int -> Int -> IO () |
tableSetColSpacings:: TableClass tb => tb -> Int -> IO () |
tableSetHomogeneous:: TableClass tb => tb -> Bool -> IO () |
tableSetRowSpacing:: TableClass tb => tb -> Int -> Int -> IO () |
tableSetRowSpacings:: TableClass tb => tb -> Int -> IO () |
Put a new widget in the table container. The widget should span the cells (leftAttach,topAttach) to (rightAttach,bottomAttach). Further formatting options have to be specified.
| tableAttach | :: tb | :: w | :: Int | :: Int | :: Int | :: Int | :: [AttachOptions] | :: [AttachOptions] | :: Int | :: Int | :: IO () |
| tb | child | leftAttach | rightAttach | topAttach | bottomAttach | xoptions | yoptions | xpadding | ypadding |
Put a new widget in the table container. As opposed to tableAttach this function assumes default values for the packing options.
| tableAttachDefaults | :: tb | :: w | :: Int | :: Int | :: Int | :: Int | :: IO () |
| tb | child | leftAttach | rightAttach | topAttach | bottomAttach |
Change the dimensions of an already existing table.
| tableResize | :: tb | :: Int | :: Int | :: IO () |
| tb | rows | columns |
Set the amount of space (in pixels) between the specified column col and its neighbours.
| tableSetColSpacing | :: tb | :: Int | :: Int | :: IO () |
| tb | col | space |
Set the amount of space between any two columns.
| tableSetColSpacings | :: tb | :: Int | :: IO () |
| tb | space |