Copyright | Will Thompson, Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
- newtype Table = Table (ForeignPtr Table)
- class GObject o => TableK o
- toTable :: TableK o => o -> IO Table
- noTable :: Maybe Table
- tableAttach :: (MonadIO m, TableK a, WidgetK b) => a -> b -> Word32 -> Word32 -> Word32 -> Word32 -> [AttachOptions] -> [AttachOptions] -> Word32 -> Word32 -> m ()
- tableAttachDefaults :: (MonadIO m, TableK a, WidgetK b) => a -> b -> Word32 -> Word32 -> Word32 -> Word32 -> m ()
- tableGetColSpacing :: (MonadIO m, TableK a) => a -> Word32 -> m Word32
- tableGetDefaultColSpacing :: (MonadIO m, TableK a) => a -> m Word32
- tableGetDefaultRowSpacing :: (MonadIO m, TableK a) => a -> m Word32
- tableGetHomogeneous :: (MonadIO m, TableK a) => a -> m Bool
- tableGetRowSpacing :: (MonadIO m, TableK a) => a -> Word32 -> m Word32
- tableGetSize :: (MonadIO m, TableK a) => a -> m (Word32, Word32)
- tableNew :: MonadIO m => Word32 -> Word32 -> Bool -> m Table
- tableResize :: (MonadIO m, TableK a) => a -> Word32 -> Word32 -> m ()
- tableSetColSpacing :: (MonadIO m, TableK a) => a -> Word32 -> Word32 -> m ()
- tableSetColSpacings :: (MonadIO m, TableK a) => a -> Word32 -> m ()
- tableSetHomogeneous :: (MonadIO m, TableK a) => a -> Bool -> m ()
- tableSetRowSpacing :: (MonadIO m, TableK a) => a -> Word32 -> Word32 -> m ()
- tableSetRowSpacings :: (MonadIO m, TableK a) => a -> Word32 -> m ()
- data TableColumnSpacingPropertyInfo
- constructTableColumnSpacing :: Word32 -> IO ([Char], GValue)
- getTableColumnSpacing :: (MonadIO m, TableK o) => o -> m Word32
- setTableColumnSpacing :: (MonadIO m, TableK o) => o -> Word32 -> m ()
- data TableHomogeneousPropertyInfo
- constructTableHomogeneous :: Bool -> IO ([Char], GValue)
- getTableHomogeneous :: (MonadIO m, TableK o) => o -> m Bool
- setTableHomogeneous :: (MonadIO m, TableK o) => o -> Bool -> m ()
- data TableNColumnsPropertyInfo
- constructTableNColumns :: Word32 -> IO ([Char], GValue)
- getTableNColumns :: (MonadIO m, TableK o) => o -> m Word32
- setTableNColumns :: (MonadIO m, TableK o) => o -> Word32 -> m ()
- data TableNRowsPropertyInfo
- constructTableNRows :: Word32 -> IO ([Char], GValue)
- getTableNRows :: (MonadIO m, TableK o) => o -> m Word32
- setTableNRows :: (MonadIO m, TableK o) => o -> Word32 -> m ()
- data TableRowSpacingPropertyInfo
- constructTableRowSpacing :: Word32 -> IO ([Char], GValue)
- getTableRowSpacing :: (MonadIO m, TableK o) => o -> m Word32
- setTableRowSpacing :: (MonadIO m, TableK o) => o -> Word32 -> m ()
Exported types
GObject Table | |
type ParentTypes Table | |
type AttributeList Table | |
type SignalList Table |
Methods
tableAttach
tableAttach :: (MonadIO m, TableK a, WidgetK b) => a -> b -> Word32 -> Word32 -> Word32 -> Word32 -> [AttachOptions] -> [AttachOptions] -> Word32 -> Word32 -> m () Source
Deprecated: (Since version 3.4)Use gtk_grid_attach() with #GtkGrid. Note that the attach arguments differ between those two functions.
tableAttachDefaults
tableAttachDefaults :: (MonadIO m, TableK a, WidgetK b) => a -> b -> Word32 -> Word32 -> Word32 -> Word32 -> m () Source
Deprecated: (Since version 3.4)Use gtk_grid_attach() with #GtkGrid. Note that the attach arguments differ between those two functions.
tableGetColSpacing
tableGetColSpacing :: (MonadIO m, TableK a) => a -> Word32 -> m Word32 Source
Deprecated: (Since version 3.4)#GtkGrid does not offer a replacement for this functionality.
tableGetDefaultColSpacing
tableGetDefaultColSpacing :: (MonadIO m, TableK a) => a -> m Word32 Source
Deprecated: (Since version 3.4)Use gtk_grid_get_column_spacing() with #GtkGrid.
tableGetDefaultRowSpacing
tableGetDefaultRowSpacing :: (MonadIO m, TableK a) => a -> m Word32 Source
Deprecated: (Since version 3.4)Use gtk_grid_get_row_spacing() with #GtkGrid.
tableGetHomogeneous
tableGetHomogeneous :: (MonadIO m, TableK a) => a -> m Bool Source
Deprecated: (Since version 3.4)Use gtk_grid_get_row_homogeneous() and gtk_grid_get_column_homogeneous() with #GtkGrid.
tableGetRowSpacing
tableGetRowSpacing :: (MonadIO m, TableK a) => a -> Word32 -> m Word32 Source
Deprecated: (Since version 3.4)#GtkGrid does not offer a replacement for this functionality.
tableGetSize
tableGetSize :: (MonadIO m, TableK a) => a -> m (Word32, Word32) Source
Deprecated: (Since version 3.4)#GtkGrid does not expose the number of columns and rows.
tableNew
tableNew :: MonadIO m => Word32 -> Word32 -> Bool -> m Table Source
Deprecated: (Since version 3.4)Use gtk_grid_new().
tableResize
tableResize :: (MonadIO m, TableK a) => a -> Word32 -> Word32 -> m () Source
Deprecated: (Since version 3.4)#GtkGrid resizes automatically.
tableSetColSpacing
tableSetColSpacing :: (MonadIO m, TableK a) => a -> Word32 -> Word32 -> m () Source
Deprecated: (Since version 3.4)Use gtk_widget_set_margin_start() and gtk_widget_set_margin_end() on the widgets contained in the row if you need this functionality. #GtkGrid does not support per-row spacing.
tableSetColSpacings
tableSetColSpacings :: (MonadIO m, TableK a) => a -> Word32 -> m () Source
Deprecated: (Since version 3.4)Use gtk_grid_set_column_spacing() with #GtkGrid.
tableSetHomogeneous
tableSetHomogeneous :: (MonadIO m, TableK a) => a -> Bool -> m () Source
Deprecated: (Since version 3.4)Use gtk_grid_set_row_homogeneous() and gtk_grid_set_column_homogeneous() with #GtkGrid.
tableSetRowSpacing
tableSetRowSpacing :: (MonadIO m, TableK a) => a -> Word32 -> Word32 -> m () Source
Deprecated: (Since version 3.4)Use gtk_widget_set_margin_top() and gtk_widget_set_margin_bottom() on the widgets contained in the row if you need this functionality. #GtkGrid does not support per-row spacing.
tableSetRowSpacings
tableSetRowSpacings :: (MonadIO m, TableK a) => a -> Word32 -> m () Source
Deprecated: (Since version 3.4)Use gtk_grid_set_row_spacing() with #GtkGrid.
Properties
ColumnSpacing
data TableColumnSpacingPropertyInfo Source
AttrInfo TableColumnSpacingPropertyInfo | |
type AttrLabel TableColumnSpacingPropertyInfo = "Table::column-spacing" | |
type AttrGetType TableColumnSpacingPropertyInfo = Word32 | |
type AttrBaseTypeConstraint TableColumnSpacingPropertyInfo = TableK | |
type AttrSetTypeConstraint TableColumnSpacingPropertyInfo = * ~ Word32 | |
type AttrAllowedOps TableColumnSpacingPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) |
getTableColumnSpacing :: (MonadIO m, TableK o) => o -> m Word32 Source
setTableColumnSpacing :: (MonadIO m, TableK o) => o -> Word32 -> m () Source
Homogeneous
data TableHomogeneousPropertyInfo Source
AttrInfo TableHomogeneousPropertyInfo | |
type AttrLabel TableHomogeneousPropertyInfo = "Table::homogeneous" | |
type AttrGetType TableHomogeneousPropertyInfo = Bool | |
type AttrBaseTypeConstraint TableHomogeneousPropertyInfo = TableK | |
type AttrSetTypeConstraint TableHomogeneousPropertyInfo = * ~ Bool | |
type AttrAllowedOps TableHomogeneousPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) |
getTableHomogeneous :: (MonadIO m, TableK o) => o -> m Bool Source
setTableHomogeneous :: (MonadIO m, TableK o) => o -> Bool -> m () Source
NColumns
data TableNColumnsPropertyInfo Source
AttrInfo TableNColumnsPropertyInfo | |
type AttrLabel TableNColumnsPropertyInfo = "Table::n-columns" | |
type AttrGetType TableNColumnsPropertyInfo = Word32 | |
type AttrBaseTypeConstraint TableNColumnsPropertyInfo = TableK | |
type AttrSetTypeConstraint TableNColumnsPropertyInfo = * ~ Word32 | |
type AttrAllowedOps TableNColumnsPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) |
getTableNColumns :: (MonadIO m, TableK o) => o -> m Word32 Source
setTableNColumns :: (MonadIO m, TableK o) => o -> Word32 -> m () Source
NRows
data TableNRowsPropertyInfo Source
AttrInfo TableNRowsPropertyInfo | |
type AttrLabel TableNRowsPropertyInfo = "Table::n-rows" | |
type AttrGetType TableNRowsPropertyInfo = Word32 | |
type AttrBaseTypeConstraint TableNRowsPropertyInfo = TableK | |
type AttrSetTypeConstraint TableNRowsPropertyInfo = * ~ Word32 | |
type AttrAllowedOps TableNRowsPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) |
getTableNRows :: (MonadIO m, TableK o) => o -> m Word32 Source
setTableNRows :: (MonadIO m, TableK o) => o -> Word32 -> m () Source
RowSpacing
data TableRowSpacingPropertyInfo Source
AttrInfo TableRowSpacingPropertyInfo | |
type AttrLabel TableRowSpacingPropertyInfo = "Table::row-spacing" | |
type AttrGetType TableRowSpacingPropertyInfo = Word32 | |
type AttrBaseTypeConstraint TableRowSpacingPropertyInfo = TableK | |
type AttrSetTypeConstraint TableRowSpacingPropertyInfo = * ~ Word32 | |
type AttrAllowedOps TableRowSpacingPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) |
getTableRowSpacing :: (MonadIO m, TableK o) => o -> m Word32 Source
setTableRowSpacing :: (MonadIO m, TableK o) => o -> Word32 -> m () Source