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 |
Synopsis
- newtype TableCell = TableCell (ManagedPtr TableCell)
- noTableCell :: Maybe TableCell
- class GObject o => IsTableCell o
- toTableCell :: (MonadIO m, IsTableCell o) => o -> m TableCell
- tableCellGetColumnHeaderCells :: (HasCallStack, MonadIO m, IsTableCell a) => a -> m [Object]
- tableCellGetColumnSpan :: (HasCallStack, MonadIO m, IsTableCell a) => a -> m Int32
- tableCellGetPosition :: (HasCallStack, MonadIO m, IsTableCell a) => a -> m (Bool, Int32, Int32)
- tableCellGetRowColumnSpan :: (HasCallStack, MonadIO m, IsTableCell a) => a -> m (Bool, Int32, Int32, Int32, Int32)
- tableCellGetRowHeaderCells :: (HasCallStack, MonadIO m, IsTableCell a) => a -> m [Object]
- tableCellGetRowSpan :: (HasCallStack, MonadIO m, IsTableCell a) => a -> m Int32
- tableCellGetTable :: (HasCallStack, MonadIO m, IsTableCell a) => a -> m Object
Exported types
Memory-managed wrapper type.
Instances
GObject TableCell Source # | |
Defined in GI.Atk.Interfaces.TableCell gobjectType :: TableCell -> IO GType # | |
IsObject TableCell Source # | |
Defined in GI.Atk.Interfaces.TableCell | |
IsTableCell TableCell Source # | |
Defined in GI.Atk.Interfaces.TableCell | |
IsObject TableCell Source # | |
Defined in GI.Atk.Interfaces.TableCell |
class GObject o => IsTableCell o Source #
Type class for types which can be safely cast to TableCell
, for instance with toTableCell
.
Instances
(GObject a, (UnknownAncestorError TableCell a :: Constraint)) => IsTableCell a Source # | |
Defined in GI.Atk.Interfaces.TableCell | |
IsTableCell TableCell Source # | |
Defined in GI.Atk.Interfaces.TableCell | |
IsTableCell NoOpObject Source # | |
Defined in GI.Atk.Objects.NoOpObject |
toTableCell :: (MonadIO m, IsTableCell o) => o -> m TableCell Source #
Methods
getColumnHeaderCells
tableCellGetColumnHeaderCells Source #
:: (HasCallStack, MonadIO m, IsTableCell a) | |
=> a |
|
-> m [Object] | Returns: a GPtrArray of AtkObjects representing the column header cells. |
Returns the column headers as an array of cell accessibles.
Since: 2.12
getColumnSpan
tableCellGetColumnSpan Source #
:: (HasCallStack, MonadIO m, IsTableCell a) | |
=> a |
|
-> m Int32 | Returns: a gint representing the number of columns occupied by this cell, or 0 if the cell does not implement this method. |
Returns the number of columns occupied by this cell accessible.
Since: 2.12
getPosition
:: (HasCallStack, MonadIO m, IsTableCell a) | |
=> a |
|
-> m (Bool, Int32, Int32) | Returns: TRUE if successful; FALSE otherwise. |
Retrieves the tabular position of this cell.
Since: 2.12
getRowColumnSpan
tableCellGetRowColumnSpan Source #
:: (HasCallStack, MonadIO m, IsTableCell a) | |
=> a |
|
-> m (Bool, Int32, Int32, Int32, Int32) | Returns: TRUE if successful; FALSE otherwise. |
Gets the row and column indexes and span of this cell accessible.
Note: If the object does not implement this function, then, by default, atk will implement this function by calling get_row_span and get_column_span on the object.
Since: 2.12
getRowHeaderCells
tableCellGetRowHeaderCells Source #
:: (HasCallStack, MonadIO m, IsTableCell a) | |
=> a |
|
-> m [Object] | Returns: a GPtrArray of AtkObjects representing the row header cells. |
Returns the row headers as an array of cell accessibles.
Since: 2.12
getRowSpan
:: (HasCallStack, MonadIO m, IsTableCell a) | |
=> a |
|
-> m Int32 | Returns: a gint representing the number of rows occupied by this cell, or 0 if the cell does not implement this method. |
Returns the number of rows occupied by this cell accessible.
Since: 2.12
getTable
:: (HasCallStack, MonadIO m, IsTableCell a) | |
=> a |
|
-> m Object | Returns: the atk object for the containing table. |
Returns a reference to the accessible of the containing table.
Since: 2.12