gi-atk-2.0.20: Atk bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (inaki@blueleaf.cc)
Safe HaskellNone
LanguageHaskell2010

GI.Atk.Interfaces.TableCell

Contents

Description

Being Table a component which present elements ordered via rows and columns, an TableCell is the interface which each of those elements, so "cells" should implement.

See also Table.

Synopsis

Exported types

newtype TableCell Source #

Memory-managed wrapper type.

Instances
GObject TableCell Source # 
Instance details

Defined in GI.Atk.Interfaces.TableCell

Methods

gobjectType :: IO GType #

HasParentTypes TableCell Source # 
Instance details

Defined in GI.Atk.Interfaces.TableCell

type ParentTypes TableCell Source # 
Instance details

Defined in GI.Atk.Interfaces.TableCell

type ParentTypes TableCell = Object ': (Object ': ([] :: [Type]))

noTableCell :: Maybe TableCell Source #

A convenience alias for Nothing :: Maybe TableCell.

class (GObject o, IsDescendantOf TableCell o) => IsTableCell o Source #

Type class for types which can be safely cast to TableCell, for instance with toTableCell.

Instances
(GObject o, IsDescendantOf TableCell o) => IsTableCell o Source # 
Instance details

Defined in GI.Atk.Interfaces.TableCell

toTableCell :: (MonadIO m, IsTableCell o) => o -> m TableCell Source #

Cast to TableCell, for types for which this is known to be safe. For general casts, use castTo.

Methods

getColumnHeaderCells

tableCellGetColumnHeaderCells Source #

Arguments

:: (HasCallStack, MonadIO m, IsTableCell a) 
=> a

cell: a GObject instance that implements AtkTableCellIface

-> 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 #

Arguments

:: (HasCallStack, MonadIO m, IsTableCell a) 
=> a

cell: a GObject instance that implements AtkTableCellIface

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

tableCellGetPosition Source #

Arguments

:: (HasCallStack, MonadIO m, IsTableCell a) 
=> a

cell: a GObject instance that implements AtkTableCellIface

-> m (Bool, Int32, Int32)

Returns: TRUE if successful; FALSE otherwise.

Retrieves the tabular position of this cell.

Since: 2.12

getRowColumnSpan

tableCellGetRowColumnSpan Source #

Arguments

:: (HasCallStack, MonadIO m, IsTableCell a) 
=> a

cell: a GObject instance that implements AtkTableCellIface

-> 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 #

Arguments

:: (HasCallStack, MonadIO m, IsTableCell a) 
=> a

cell: a GObject instance that implements AtkTableCellIface

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

tableCellGetRowSpan Source #

Arguments

:: (HasCallStack, MonadIO m, IsTableCell a) 
=> a

cell: a GObject instance that implements AtkTableCellIface

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

tableCellGetTable Source #

Arguments

:: (HasCallStack, MonadIO m, IsTableCell a) 
=> a

cell: a GObject instance that implements AtkTableCellIface

-> m Object

Returns: the atk object for the containing table.

Returns a reference to the accessible of the containing table.

Since: 2.12