|
|
|
|
|
| Description |
| The table widget is a container in which widgets can be aligned in cells.
|
|
| Synopsis |
|
|
|
| Documentation |
|
| tableNew :: Int -> Int -> Bool -> IO Table |
| Create a new table with the specified dimensions.
Set homogeneous to True if all cells should be of the same size.
|
|
| tableResize :: TableClass tb => tb -> Int -> Int -> IO () |
| Change the dimensions of an already existing table.
|
|
| data AttachOptions |
| child widget attach options for table containers
| | Constructors | | | Instances | |
|
|
| tableAttach :: (TableClass tb, WidgetClass w) => tb -> w -> Int -> Int -> Int -> Int -> [AttachOptions] -> [AttachOptions] -> Int -> 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.
|
|
| tableAttachDefaults :: (TableClass tb, WidgetClass w) => tb -> w -> Int -> Int -> Int -> Int -> IO () |
| Put a new widget in the table container. As opposed to tableAttach this
function assumes default values for the packing options.
|
|
| tableSetRowSpacing |
| :: TableClass tb | | | => tb | | | -> Int | Row number, indexed from 0 | | -> Int | Spacing size in pixels | | -> IO () | | | Set the amount of space (in pixels) between the specified row and its
neighbours.
|
|
|
| tableGetRowSpacing :: TableClass tb => tb -> Int -> IO Int |
| Get the amount of space (in pixels) between the specified row and the
next row.
|
|
| tableSetColSpacing :: TableClass tb => tb -> Int -> Int -> IO () |
| Set the amount of space (in pixels) between the specified column and
its neighbours.
|
|
| tableGetColSpacing :: TableClass tb => tb -> Int -> IO Int |
| Get the amount of space (in pixels) between the specified column and the
next column.
|
|
| tableSetRowSpacings :: TableClass tb => tb -> Int -> IO () |
| Set the amount of space between any two rows.
|
|
| tableGetDefaultRowSpacing :: TableClass tb => tb -> IO Int |
| Gets the default row spacing for the table. This is the spacing that will
be used for newly added rows.
|
|
| tableSetColSpacings :: TableClass tb => tb -> Int -> IO () |
| Set the amount of space between any two columns.
|
|
| tableGetDefaultColSpacing :: TableClass tb => tb -> IO Int |
| Gets the default column spacing for the table. This is the spacing that
will be used for newly added columns.
|
|
| tableSetHomogeneous :: TableClass tb => tb -> Bool -> IO () |
| Make all cells the same size.
|
|
| tableGetHomogeneous :: TableClass tb => tb -> IO Bool |
| Returns whether the table cells are all constrained to the same width and
height.
|
|
| Produced by Haddock version 0.6 |