Name

Table —

The table widget is a container in which widgets can be aligned in cells.

Synopsis

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 ()

Constructors

tableNew

Create a new table with the specified dimensions. Set homogeneous to True if all cells should be of the same size.

tableNew:: Int:: Int:: Bool:: IO Table
rowscolumnshomogeneous

Methods

tableAttach

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 ()
tbchildleftAttachrightAttachtopAttachbottomAttachxoptionsyoptionsxpaddingypadding

tableAttachDefaults

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 ()
tbchildleftAttachrightAttachtopAttachbottomAttach

tableResize

Change the dimensions of an already existing table.

tableResize:: tb:: Int:: Int:: IO ()
tbrowscolumns

tableSetColSpacing

Set the amount of space (in pixels) between the specified column col and its neighbours.

tableSetColSpacing:: tb:: Int:: Int:: IO ()
tbcolspace

tableSetColSpacings

Set the amount of space between any two columns.

tableSetColSpacings:: tb:: Int:: IO ()
tbspace

tableSetHomogeneous

Make all cells the same size.

tableSetHomogeneous:: tb:: Bool:: IO ()
tbhom

tableSetRowSpacing

Set the amount of space (in pixels) between the specified row and its neighbours.

tableSetRowSpacing:: tb:: Int:: Int:: IO ()
tbrowspace

tableSetRowSpacings

Set the amount of space between any two rows.

tableSetRowSpacings:: tb:: Int:: IO ()
tbspace