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
- data TableAttachMethodInfo
- tableAttach :: (MonadIO m, TableK a, WidgetK b) => a -> b -> Word32 -> Word32 -> Word32 -> Word32 -> [AttachOptions] -> [AttachOptions] -> Word32 -> Word32 -> m ()
- data TableAttachDefaultsMethodInfo
- tableAttachDefaults :: (MonadIO m, TableK a, WidgetK b) => a -> b -> Word32 -> Word32 -> Word32 -> Word32 -> m ()
- data TableGetColSpacingMethodInfo
- tableGetColSpacing :: (MonadIO m, TableK a) => a -> Word32 -> m Word32
- data TableGetDefaultColSpacingMethodInfo
- tableGetDefaultColSpacing :: (MonadIO m, TableK a) => a -> m Word32
- data TableGetDefaultRowSpacingMethodInfo
- tableGetDefaultRowSpacing :: (MonadIO m, TableK a) => a -> m Word32
- data TableGetHomogeneousMethodInfo
- tableGetHomogeneous :: (MonadIO m, TableK a) => a -> m Bool
- data TableGetRowSpacingMethodInfo
- tableGetRowSpacing :: (MonadIO m, TableK a) => a -> Word32 -> m Word32
- data TableGetSizeMethodInfo
- tableGetSize :: (MonadIO m, TableK a) => a -> m (Word32, Word32)
- tableNew :: MonadIO m => Word32 -> Word32 -> Bool -> m Table
- data TableResizeMethodInfo
- tableResize :: (MonadIO m, TableK a) => a -> Word32 -> Word32 -> m ()
- data TableSetColSpacingMethodInfo
- tableSetColSpacing :: (MonadIO m, TableK a) => a -> Word32 -> Word32 -> m ()
- data TableSetColSpacingsMethodInfo
- tableSetColSpacings :: (MonadIO m, TableK a) => a -> Word32 -> m ()
- data TableSetHomogeneousMethodInfo
- tableSetHomogeneous :: (MonadIO m, TableK a) => a -> Bool -> m ()
- data TableSetRowSpacingMethodInfo
- tableSetRowSpacing :: (MonadIO m, TableK a) => a -> Word32 -> Word32 -> m ()
- data TableSetRowSpacingsMethodInfo
- 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 Source | |
((~) * info (ResolveTableMethod t Table), MethodInfo * info Table p) => IsLabel t (Table -> p) Source | |
((~) * info (ResolveTableMethod t Table), MethodInfo * info Table p) => IsLabelProxy t (Table -> p) Source | |
type ParentTypes Table Source | |
type AttributeList Table Source | |
type SignalList Table Source |
Methods
tableAttach
data TableAttachMethodInfo Source
((~) (TYPE Lifted) signature (b -> Word32 -> Word32 -> Word32 -> Word32 -> [AttachOptions] -> [AttachOptions] -> Word32 -> Word32 -> m ()), MonadIO m, TableK a, WidgetK b) => MethodInfo (TYPE Lifted) TableAttachMethodInfo a signature Source | |
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
data TableGetDefaultColSpacingMethodInfo Source
((~) (TYPE Lifted) signature (m Word32), MonadIO m, TableK a) => MethodInfo (TYPE Lifted) TableGetDefaultColSpacingMethodInfo a signature Source | |
tableGetDefaultColSpacing :: (MonadIO m, TableK a) => a -> m Word32 Source
Deprecated: (Since version 3.4)Use gtk_grid_get_column_spacing() with #GtkGrid.
tableGetDefaultRowSpacing
data TableGetDefaultRowSpacingMethodInfo Source
((~) (TYPE Lifted) signature (m Word32), MonadIO m, TableK a) => MethodInfo (TYPE Lifted) TableGetDefaultRowSpacingMethodInfo a signature Source | |
tableGetDefaultRowSpacing :: (MonadIO m, TableK a) => a -> m Word32 Source
Deprecated: (Since version 3.4)Use gtk_grid_get_row_spacing() with #GtkGrid.
tableGetHomogeneous
data TableGetHomogeneousMethodInfo Source
((~) (TYPE Lifted) signature (m Bool), MonadIO m, TableK a) => MethodInfo (TYPE Lifted) TableGetHomogeneousMethodInfo a signature Source | |
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
data TableSetColSpacingsMethodInfo Source
((~) (TYPE Lifted) signature (Word32 -> m ()), MonadIO m, TableK a) => MethodInfo (TYPE Lifted) TableSetColSpacingsMethodInfo a signature Source | |
tableSetColSpacings :: (MonadIO m, TableK a) => a -> Word32 -> m () Source
Deprecated: (Since version 3.4)Use gtk_grid_set_column_spacing() with #GtkGrid.
tableSetHomogeneous
data TableSetHomogeneousMethodInfo Source
((~) (TYPE Lifted) signature (Bool -> m ()), MonadIO m, TableK a) => MethodInfo (TYPE Lifted) TableSetHomogeneousMethodInfo a signature Source | |
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
data TableSetRowSpacingsMethodInfo Source
((~) (TYPE Lifted) signature (Word32 -> m ()), MonadIO m, TableK a) => MethodInfo (TYPE Lifted) TableSetRowSpacingsMethodInfo a signature Source | |
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 Source | |
type AttrLabel TableColumnSpacingPropertyInfo = "column-spacing" Source | |
type AttrGetType TableColumnSpacingPropertyInfo = Word32 Source | |
type AttrBaseTypeConstraint TableColumnSpacingPropertyInfo = TableK Source | |
type AttrSetTypeConstraint TableColumnSpacingPropertyInfo = TYPE Lifted ~ Word32 Source | |
type AttrAllowedOps TableColumnSpacingPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) Source |
getTableColumnSpacing :: (MonadIO m, TableK o) => o -> m Word32 Source
setTableColumnSpacing :: (MonadIO m, TableK o) => o -> Word32 -> m () Source
Homogeneous
data TableHomogeneousPropertyInfo Source
AttrInfo TableHomogeneousPropertyInfo Source | |
type AttrLabel TableHomogeneousPropertyInfo = "homogeneous" Source | |
type AttrGetType TableHomogeneousPropertyInfo = Bool Source | |
type AttrBaseTypeConstraint TableHomogeneousPropertyInfo = TableK Source | |
type AttrSetTypeConstraint TableHomogeneousPropertyInfo = TYPE Lifted ~ Bool Source | |
type AttrAllowedOps TableHomogeneousPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) Source |
getTableHomogeneous :: (MonadIO m, TableK o) => o -> m Bool Source
setTableHomogeneous :: (MonadIO m, TableK o) => o -> Bool -> m () Source
NColumns
data TableNColumnsPropertyInfo Source
AttrInfo TableNColumnsPropertyInfo Source | |
type AttrLabel TableNColumnsPropertyInfo = "n-columns" Source | |
type AttrGetType TableNColumnsPropertyInfo = Word32 Source | |
type AttrBaseTypeConstraint TableNColumnsPropertyInfo = TableK Source | |
type AttrSetTypeConstraint TableNColumnsPropertyInfo = TYPE Lifted ~ Word32 Source | |
type AttrAllowedOps TableNColumnsPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) Source |
getTableNColumns :: (MonadIO m, TableK o) => o -> m Word32 Source
setTableNColumns :: (MonadIO m, TableK o) => o -> Word32 -> m () Source
NRows
data TableNRowsPropertyInfo Source
AttrInfo TableNRowsPropertyInfo Source | |
type AttrLabel TableNRowsPropertyInfo = "n-rows" Source | |
type AttrGetType TableNRowsPropertyInfo = Word32 Source | |
type AttrBaseTypeConstraint TableNRowsPropertyInfo = TableK Source | |
type AttrSetTypeConstraint TableNRowsPropertyInfo = TYPE Lifted ~ Word32 Source | |
type AttrAllowedOps TableNRowsPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) Source |
getTableNRows :: (MonadIO m, TableK o) => o -> m Word32 Source
setTableNRows :: (MonadIO m, TableK o) => o -> Word32 -> m () Source
RowSpacing
data TableRowSpacingPropertyInfo Source
AttrInfo TableRowSpacingPropertyInfo Source | |
type AttrLabel TableRowSpacingPropertyInfo = "row-spacing" Source | |
type AttrGetType TableRowSpacingPropertyInfo = Word32 Source | |
type AttrBaseTypeConstraint TableRowSpacingPropertyInfo = TableK Source | |
type AttrSetTypeConstraint TableRowSpacingPropertyInfo = TYPE Lifted ~ Word32 Source | |
type AttrAllowedOps TableRowSpacingPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) Source |
getTableRowSpacing :: (MonadIO m, TableK o) => o -> m Word32 Source
setTableRowSpacing :: (MonadIO m, TableK o) => o -> Word32 -> m () Source