gi-atk
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.Atk.Interfaces.Table

Description

The ATK interface implemented for UI components which contain tabular or row/column information.

Table should be implemented by components which present elements ordered via rows and columns. It may also be used to present tree-structured information if the nodes of the trees can be said to contain multiple "columns". Individual elements of an Table are typically referred to as "cells". Those cells should implement the interface TableCell, but Atk doesn't require them to be direct children of the current Table. They can be grand-children, grand-grand-children etc. Table provides the API needed to get a individual cell based on the row and column numbers.

Children of Table are frequently "lightweight" objects, that is, they may not have backing widgets in the host UI toolkit. They are therefore often transient.

Since tables are often very complex, Table includes provision for offering simplified summary information, as well as row and column headers and captions. Headers and captions are AtkObjects which may implement other interfaces (tText, Image, etc.) as appropriate. Table summaries may themselves be (simplified) AtkTables, etc.

Note for implementors: in the past, Table required that all the cells should be direct children of Table, and provided some index based methods to request the cells. The practice showed that that forcing made Table implementation complex, and hard to expose other kind of children, like rows or captions. Right now, index-based methods are deprecated.

Synopsis

Exported types

newtype Table Source #

Memory-managed wrapper type.

Constructors

Table (ManagedPtr Table) 

Instances

Instances details
Eq Table Source # 
Instance details

Defined in GI.Atk.Interfaces.Table

Methods

(==) :: Table -> Table -> Bool #

(/=) :: Table -> Table -> Bool #

GObject Table Source # 
Instance details

Defined in GI.Atk.Interfaces.Table

ManagedPtrNewtype Table Source # 
Instance details

Defined in GI.Atk.Interfaces.Table

TypedObject Table Source # 
Instance details

Defined in GI.Atk.Interfaces.Table

Methods

glibType :: IO GType #

HasParentTypes Table Source # 
Instance details

Defined in GI.Atk.Interfaces.Table

HasAttributeList Table Source # 
Instance details

Defined in GI.Atk.Interfaces.Table

(info ~ ResolveTableMethod t Table, OverloadedMethod info Table p, HasField t Table p) => HasField (t :: Symbol) Table (p :: Type) Source # 
Instance details

Defined in GI.Atk.Interfaces.Table

Methods

getField :: Table -> p #

(info ~ ResolveTableMethod t Table, OverloadedMethodInfo info Table) => IsLabel t (MethodProxy info Table) Source # 
Instance details

Defined in GI.Atk.Interfaces.Table

Methods

fromLabel :: MethodProxy info Table #

(info ~ ResolveTableMethod t Table, OverloadedMethod info Table p) => IsLabel t (Table -> p) Source # 
Instance details

Defined in GI.Atk.Interfaces.Table

Methods

fromLabel :: Table -> p #

IsGValue (Maybe Table) Source #

Convert Table to and from GValue. See toGValue and fromGValue.

Instance details

Defined in GI.Atk.Interfaces.Table

type AttributeList Table Source # 
Instance details

Defined in GI.Atk.Interfaces.Table

type ParentTypes Table Source # 
Instance details

Defined in GI.Atk.Interfaces.Table

type SignalList Table Source # 
Instance details

Defined in GI.Atk.Interfaces.Table

class (GObject o, IsDescendantOf Table o) => IsTable o Source #

Type class for types which can be safely cast to Table, for instance with toTable.

Instances

Instances details
(GObject o, IsDescendantOf Table o) => IsTable o Source # 
Instance details

Defined in GI.Atk.Interfaces.Table

toTable :: (MonadIO m, IsTable o) => o -> m Table Source #

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

Methods

type family ResolveTableMethod (t :: Symbol) o where ... Source #

Equations

ResolveTableMethod "addColumnSelection" o = TableAddColumnSelectionMethodInfo 
ResolveTableMethod "addRowSelection" o = TableAddRowSelectionMethodInfo 
ResolveTableMethod "bindProperty" o = ObjectBindPropertyMethodInfo 
ResolveTableMethod "bindPropertyFull" o = ObjectBindPropertyFullMethodInfo 
ResolveTableMethod "forceFloating" o = ObjectForceFloatingMethodInfo 
ResolveTableMethod "freezeNotify" o = ObjectFreezeNotifyMethodInfo 
ResolveTableMethod "getv" o = ObjectGetvMethodInfo 
ResolveTableMethod "isColumnSelected" o = TableIsColumnSelectedMethodInfo 
ResolveTableMethod "isFloating" o = ObjectIsFloatingMethodInfo 
ResolveTableMethod "isRowSelected" o = TableIsRowSelectedMethodInfo 
ResolveTableMethod "isSelected" o = TableIsSelectedMethodInfo 
ResolveTableMethod "notify" o = ObjectNotifyMethodInfo 
ResolveTableMethod "notifyByPspec" o = ObjectNotifyByPspecMethodInfo 
ResolveTableMethod "ref" o = ObjectRefMethodInfo 
ResolveTableMethod "refAt" o = TableRefAtMethodInfo 
ResolveTableMethod "refSink" o = ObjectRefSinkMethodInfo 
ResolveTableMethod "removeColumnSelection" o = TableRemoveColumnSelectionMethodInfo 
ResolveTableMethod "removeRowSelection" o = TableRemoveRowSelectionMethodInfo 
ResolveTableMethod "runDispose" o = ObjectRunDisposeMethodInfo 
ResolveTableMethod "stealData" o = ObjectStealDataMethodInfo 
ResolveTableMethod "stealQdata" o = ObjectStealQdataMethodInfo 
ResolveTableMethod "thawNotify" o = ObjectThawNotifyMethodInfo 
ResolveTableMethod "unref" o = ObjectUnrefMethodInfo 
ResolveTableMethod "watchClosure" o = ObjectWatchClosureMethodInfo 
ResolveTableMethod "getCaption" o = TableGetCaptionMethodInfo 
ResolveTableMethod "getColumnAtIndex" o = TableGetColumnAtIndexMethodInfo 
ResolveTableMethod "getColumnDescription" o = TableGetColumnDescriptionMethodInfo 
ResolveTableMethod "getColumnExtentAt" o = TableGetColumnExtentAtMethodInfo 
ResolveTableMethod "getColumnHeader" o = TableGetColumnHeaderMethodInfo 
ResolveTableMethod "getData" o = ObjectGetDataMethodInfo 
ResolveTableMethod "getIndexAt" o = TableGetIndexAtMethodInfo 
ResolveTableMethod "getNColumns" o = TableGetNColumnsMethodInfo 
ResolveTableMethod "getNRows" o = TableGetNRowsMethodInfo 
ResolveTableMethod "getProperty" o = ObjectGetPropertyMethodInfo 
ResolveTableMethod "getQdata" o = ObjectGetQdataMethodInfo 
ResolveTableMethod "getRowAtIndex" o = TableGetRowAtIndexMethodInfo 
ResolveTableMethod "getRowDescription" o = TableGetRowDescriptionMethodInfo 
ResolveTableMethod "getRowExtentAt" o = TableGetRowExtentAtMethodInfo 
ResolveTableMethod "getRowHeader" o = TableGetRowHeaderMethodInfo 
ResolveTableMethod "getSelectedColumns" o = TableGetSelectedColumnsMethodInfo 
ResolveTableMethod "getSelectedRows" o = TableGetSelectedRowsMethodInfo 
ResolveTableMethod "getSummary" o = TableGetSummaryMethodInfo 
ResolveTableMethod "setCaption" o = TableSetCaptionMethodInfo 
ResolveTableMethod "setColumnDescription" o = TableSetColumnDescriptionMethodInfo 
ResolveTableMethod "setColumnHeader" o = TableSetColumnHeaderMethodInfo 
ResolveTableMethod "setData" o = ObjectSetDataMethodInfo 
ResolveTableMethod "setDataFull" o = ObjectSetDataFullMethodInfo 
ResolveTableMethod "setProperty" o = ObjectSetPropertyMethodInfo 
ResolveTableMethod "setRowDescription" o = TableSetRowDescriptionMethodInfo 
ResolveTableMethod "setRowHeader" o = TableSetRowHeaderMethodInfo 
ResolveTableMethod "setSummary" o = TableSetSummaryMethodInfo 
ResolveTableMethod l o = MethodResolutionFailed l o :: Type 

addColumnSelection

tableAddColumnSelection Source #

Arguments

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

table: a GObject instance that implements AtkTableIface

-> Int32

column: a gint representing a column in table

-> m Bool

Returns: a gboolean representing if the column was successfully added to the selection, or 0 if value does not implement this interface.

Adds the specified column to the selection.

addRowSelection

data TableAddRowSelectionMethodInfo Source #

Instances

Instances details
(signature ~ (Int32 -> m Bool), MonadIO m, IsTable a) => OverloadedMethod TableAddRowSelectionMethodInfo a signature Source # 
Instance details

Defined in GI.Atk.Interfaces.Table

Methods

overloadedMethod :: a -> signature #

OverloadedMethodInfo TableAddRowSelectionMethodInfo (a :: Type) Source # 
Instance details

Defined in GI.Atk.Interfaces.Table

tableAddRowSelection Source #

Arguments

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

table: a GObject instance that implements AtkTableIface

-> Int32

row: a gint representing a row in table

-> m Bool

Returns: a gboolean representing if row was successfully added to selection, or 0 if value does not implement this interface.

Adds the specified row to the selection.

getCaption

data TableGetCaptionMethodInfo Source #

Instances

Instances details
(signature ~ m (Maybe Object), MonadIO m, IsTable a) => OverloadedMethod TableGetCaptionMethodInfo a signature Source # 
Instance details

Defined in GI.Atk.Interfaces.Table

Methods

overloadedMethod :: a -> signature #

OverloadedMethodInfo TableGetCaptionMethodInfo (a :: Type) Source # 
Instance details

Defined in GI.Atk.Interfaces.Table

tableGetCaption Source #

Arguments

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

table: a GObject instance that implements AtkTableInterface

-> m (Maybe Object)

Returns: a AtkObject* representing the table caption, or Nothing if value does not implement this interface.

Gets the caption for the table.

getColumnAtIndex

data TableGetColumnAtIndexMethodInfo Source #

Instances

Instances details
(signature ~ (Int32 -> m Int32), MonadIO m, IsTable a) => OverloadedMethod TableGetColumnAtIndexMethodInfo a signature Source # 
Instance details

Defined in GI.Atk.Interfaces.Table

Methods

overloadedMethod :: a -> signature #

OverloadedMethodInfo TableGetColumnAtIndexMethodInfo (a :: Type) Source # 
Instance details

Defined in GI.Atk.Interfaces.Table

tableGetColumnAtIndex Source #

Arguments

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

table: a GObject instance that implements AtkTableInterface

-> Int32

index_: a gint representing an index in table

-> m Int32

Returns: a gint representing the column at the specified index, or -1 if the table does not implement this method.

Deprecated: Since 2.12.

Gets a gint representing the column at the specified index_.

getColumnDescription

tableGetColumnDescription Source #

Arguments

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

table: a GObject instance that implements AtkTableIface

-> Int32

column: a gint representing a column in table

-> m Text

Returns: a gchar* representing the column description, or Nothing if value does not implement this interface.

Gets the description text of the specified column in the table

getColumnExtentAt

data TableGetColumnExtentAtMethodInfo Source #

Instances

Instances details
(signature ~ (Int32 -> Int32 -> m Int32), MonadIO m, IsTable a) => OverloadedMethod TableGetColumnExtentAtMethodInfo a signature Source # 
Instance details

Defined in GI.Atk.Interfaces.Table

Methods

overloadedMethod :: a -> signature #

OverloadedMethodInfo TableGetColumnExtentAtMethodInfo (a :: Type) Source # 
Instance details

Defined in GI.Atk.Interfaces.Table

tableGetColumnExtentAt Source #

Arguments

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

table: a GObject instance that implements AtkTableIface

-> Int32

row: a gint representing a row in table

-> Int32

column: a gint representing a column in table

-> m Int32

Returns: a gint representing the column extent at specified position, or 0 if value does not implement this interface.

Gets the number of columns occupied by the accessible object at the specified row and column in the table.

getColumnHeader

data TableGetColumnHeaderMethodInfo Source #

Instances

Instances details
(signature ~ (Int32 -> m (Maybe Object)), MonadIO m, IsTable a) => OverloadedMethod TableGetColumnHeaderMethodInfo a signature Source # 
Instance details

Defined in GI.Atk.Interfaces.Table

Methods

overloadedMethod :: a -> signature #

OverloadedMethodInfo TableGetColumnHeaderMethodInfo (a :: Type) Source # 
Instance details

Defined in GI.Atk.Interfaces.Table

tableGetColumnHeader Source #

Arguments

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

table: a GObject instance that implements AtkTableIface

-> Int32

column: a gint representing a column in the table

-> m (Maybe Object)

Returns: a AtkObject* representing the specified column header, or Nothing if value does not implement this interface.

Gets the column header of a specified column in an accessible table.

getIndexAt

data TableGetIndexAtMethodInfo Source #

Instances

Instances details
(signature ~ (Int32 -> Int32 -> m Int32), MonadIO m, IsTable a) => OverloadedMethod TableGetIndexAtMethodInfo a signature Source # 
Instance details

Defined in GI.Atk.Interfaces.Table

Methods

overloadedMethod :: a -> signature #

OverloadedMethodInfo TableGetIndexAtMethodInfo (a :: Type) Source # 
Instance details

Defined in GI.Atk.Interfaces.Table

tableGetIndexAt Source #

Arguments

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

table: a GObject instance that implements AtkTableIface

-> Int32

row: a gint representing a row in table

-> Int32

column: a gint representing a column in table

-> m Int32

Returns: a gint representing the index at specified position. The value -1 is returned if the object at row,column is not a child of table or table does not implement this interface.

Deprecated: Since 2.12. Use tableRefAt in order to get theaccessible that represents the cell at (row, column)

Gets a gint representing the index at the specified row and column.

getNColumns

data TableGetNColumnsMethodInfo Source #

Instances

Instances details
(signature ~ m Int32, MonadIO m, IsTable a) => OverloadedMethod TableGetNColumnsMethodInfo a signature Source # 
Instance details

Defined in GI.Atk.Interfaces.Table

Methods

overloadedMethod :: a -> signature #

OverloadedMethodInfo TableGetNColumnsMethodInfo (a :: Type) Source # 
Instance details

Defined in GI.Atk.Interfaces.Table

tableGetNColumns Source #

Arguments

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

table: a GObject instance that implements AtkTableIface

-> m Int32

Returns: a gint representing the number of columns, or 0 if value does not implement this interface.

Gets the number of columns in the table.

getNRows

data TableGetNRowsMethodInfo Source #

Instances

Instances details
(signature ~ m Int32, MonadIO m, IsTable a) => OverloadedMethod TableGetNRowsMethodInfo a signature Source # 
Instance details

Defined in GI.Atk.Interfaces.Table

Methods

overloadedMethod :: a -> signature #

OverloadedMethodInfo TableGetNRowsMethodInfo (a :: Type) Source # 
Instance details

Defined in GI.Atk.Interfaces.Table

tableGetNRows Source #

Arguments

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

table: a GObject instance that implements AtkTableIface

-> m Int32

Returns: a gint representing the number of rows, or 0 if value does not implement this interface.

Gets the number of rows in the table.

getRowAtIndex

data TableGetRowAtIndexMethodInfo Source #

Instances

Instances details
(signature ~ (Int32 -> m Int32), MonadIO m, IsTable a) => OverloadedMethod TableGetRowAtIndexMethodInfo a signature Source # 
Instance details

Defined in GI.Atk.Interfaces.Table

Methods

overloadedMethod :: a -> signature #

OverloadedMethodInfo TableGetRowAtIndexMethodInfo (a :: Type) Source # 
Instance details

Defined in GI.Atk.Interfaces.Table

tableGetRowAtIndex Source #

Arguments

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

table: a GObject instance that implements AtkTableInterface

-> Int32

index_: a gint representing an index in table

-> m Int32

Returns: a gint representing the row at the specified index, or -1 if the table does not implement this method.

Deprecated: since 2.12.

Gets a gint representing the row at the specified index_.

getRowDescription

data TableGetRowDescriptionMethodInfo Source #

Instances

Instances details
(signature ~ (Int32 -> m (Maybe Text)), MonadIO m, IsTable a) => OverloadedMethod TableGetRowDescriptionMethodInfo a signature Source # 
Instance details

Defined in GI.Atk.Interfaces.Table

Methods

overloadedMethod :: a -> signature #

OverloadedMethodInfo TableGetRowDescriptionMethodInfo (a :: Type) Source # 
Instance details

Defined in GI.Atk.Interfaces.Table

tableGetRowDescription Source #

Arguments

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

table: a GObject instance that implements AtkTableIface

-> Int32

row: a gint representing a row in table

-> m (Maybe Text)

Returns: a gchar* representing the row description, or Nothing if value does not implement this interface.

Gets the description text of the specified row in the table

getRowExtentAt

data TableGetRowExtentAtMethodInfo Source #

Instances

Instances details
(signature ~ (Int32 -> Int32 -> m Int32), MonadIO m, IsTable a) => OverloadedMethod TableGetRowExtentAtMethodInfo a signature Source # 
Instance details

Defined in GI.Atk.Interfaces.Table

Methods

overloadedMethod :: a -> signature #

OverloadedMethodInfo TableGetRowExtentAtMethodInfo (a :: Type) Source # 
Instance details

Defined in GI.Atk.Interfaces.Table

tableGetRowExtentAt Source #

Arguments

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

table: a GObject instance that implements AtkTableIface

-> Int32

row: a gint representing a row in table

-> Int32

column: a gint representing a column in table

-> m Int32

Returns: a gint representing the row extent at specified position, or 0 if value does not implement this interface.

Gets the number of rows occupied by the accessible object at a specified row and column in the table.

getRowHeader

data TableGetRowHeaderMethodInfo Source #

Instances

Instances details
(signature ~ (Int32 -> m (Maybe Object)), MonadIO m, IsTable a) => OverloadedMethod TableGetRowHeaderMethodInfo a signature Source # 
Instance details

Defined in GI.Atk.Interfaces.Table

Methods

overloadedMethod :: a -> signature #

OverloadedMethodInfo TableGetRowHeaderMethodInfo (a :: Type) Source # 
Instance details

Defined in GI.Atk.Interfaces.Table

tableGetRowHeader Source #

Arguments

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

table: a GObject instance that implements AtkTableIface

-> Int32

row: a gint representing a row in the table

-> m (Maybe Object)

Returns: a AtkObject* representing the specified row header, or Nothing if value does not implement this interface.

Gets the row header of a specified row in an accessible table.

getSelectedColumns

tableGetSelectedColumns Source #

Arguments

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

table: a GObject instance that implements AtkTableIface

-> Int32

selected: a gint__ that is to contain the selected columns numbers

-> m Int32

Returns: a gint representing the number of selected columns, or 0 if value does not implement this interface.

Gets the selected columns of the table by initializing __selected with the selected column numbers. This array should be freed by the caller.

getSelectedRows

data TableGetSelectedRowsMethodInfo Source #

Instances

Instances details
(signature ~ (Int32 -> m Int32), MonadIO m, IsTable a) => OverloadedMethod TableGetSelectedRowsMethodInfo a signature Source # 
Instance details

Defined in GI.Atk.Interfaces.Table

Methods

overloadedMethod :: a -> signature #

OverloadedMethodInfo TableGetSelectedRowsMethodInfo (a :: Type) Source # 
Instance details

Defined in GI.Atk.Interfaces.Table

tableGetSelectedRows Source #

Arguments

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

table: a GObject instance that implements AtkTableIface

-> Int32

selected: a gint__ that is to contain the selected row numbers

-> m Int32

Returns: a gint representing the number of selected rows, or zero if value does not implement this interface.

Gets the selected rows of the table by initializing __selected with the selected row numbers. This array should be freed by the caller.

getSummary

data TableGetSummaryMethodInfo Source #

Instances

Instances details
(signature ~ m Object, MonadIO m, IsTable a) => OverloadedMethod TableGetSummaryMethodInfo a signature Source # 
Instance details

Defined in GI.Atk.Interfaces.Table

Methods

overloadedMethod :: a -> signature #

OverloadedMethodInfo TableGetSummaryMethodInfo (a :: Type) Source # 
Instance details

Defined in GI.Atk.Interfaces.Table

tableGetSummary Source #

Arguments

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

table: a GObject instance that implements AtkTableIface

-> m Object

Returns: a AtkObject* representing a summary description of the table, or zero if value does not implement this interface.

Gets the summary description of the table.

isColumnSelected

data TableIsColumnSelectedMethodInfo Source #

Instances

Instances details
(signature ~ (Int32 -> m Bool), MonadIO m, IsTable a) => OverloadedMethod TableIsColumnSelectedMethodInfo a signature Source # 
Instance details

Defined in GI.Atk.Interfaces.Table

Methods

overloadedMethod :: a -> signature #

OverloadedMethodInfo TableIsColumnSelectedMethodInfo (a :: Type) Source # 
Instance details

Defined in GI.Atk.Interfaces.Table

tableIsColumnSelected Source #

Arguments

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

table: a GObject instance that implements AtkTableIface

-> Int32

column: a gint representing a column in table

-> m Bool

Returns: a gboolean representing if the column is selected, or 0 if value does not implement this interface.

Gets a boolean value indicating whether the specified column is selected

isRowSelected

data TableIsRowSelectedMethodInfo Source #

Instances

Instances details
(signature ~ (Int32 -> m Bool), MonadIO m, IsTable a) => OverloadedMethod TableIsRowSelectedMethodInfo a signature Source # 
Instance details

Defined in GI.Atk.Interfaces.Table

Methods

overloadedMethod :: a -> signature #

OverloadedMethodInfo TableIsRowSelectedMethodInfo (a :: Type) Source # 
Instance details

Defined in GI.Atk.Interfaces.Table

tableIsRowSelected Source #

Arguments

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

table: a GObject instance that implements AtkTableIface

-> Int32

row: a gint representing a row in table

-> m Bool

Returns: a gboolean representing if the row is selected, or 0 if value does not implement this interface.

Gets a boolean value indicating whether the specified row is selected

isSelected

data TableIsSelectedMethodInfo Source #

Instances

Instances details
(signature ~ (Int32 -> Int32 -> m Bool), MonadIO m, IsTable a) => OverloadedMethod TableIsSelectedMethodInfo a signature Source # 
Instance details

Defined in GI.Atk.Interfaces.Table

Methods

overloadedMethod :: a -> signature #

OverloadedMethodInfo TableIsSelectedMethodInfo (a :: Type) Source # 
Instance details

Defined in GI.Atk.Interfaces.Table

tableIsSelected Source #

Arguments

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

table: a GObject instance that implements AtkTableIface

-> Int32

row: a gint representing a row in table

-> Int32

column: a gint representing a column in table

-> m Bool

Returns: a gboolean representing if the cell is selected, or 0 if value does not implement this interface.

Gets a boolean value indicating whether the accessible object at the specified row and column is selected

refAt

data TableRefAtMethodInfo Source #

Instances

Instances details
(signature ~ (Int32 -> Int32 -> m Object), MonadIO m, IsTable a) => OverloadedMethod TableRefAtMethodInfo a signature Source # 
Instance details

Defined in GI.Atk.Interfaces.Table

Methods

overloadedMethod :: a -> signature #

OverloadedMethodInfo TableRefAtMethodInfo (a :: Type) Source # 
Instance details

Defined in GI.Atk.Interfaces.Table

tableRefAt Source #

Arguments

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

table: a GObject instance that implements AtkTableIface

-> Int32

row: a gint representing a row in table

-> Int32

column: a gint representing a column in table

-> m Object

Returns: an Object representing the referred to accessible

Get a reference to the table cell at row, column. This cell should implement the interface TableCell

removeColumnSelection

tableRemoveColumnSelection Source #

Arguments

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

table: a GObject instance that implements AtkTableIface

-> Int32

column: a gint representing a column in table

-> m Bool

Returns: a gboolean representing if the column was successfully removed from the selection, or 0 if value does not implement this interface.

Adds the specified column to the selection.

removeRowSelection

tableRemoveRowSelection Source #

Arguments

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

table: a GObject instance that implements AtkTableIface

-> Int32

row: a gint representing a row in table

-> m Bool

Returns: a gboolean representing if the row was successfully removed from the selection, or 0 if value does not implement this interface.

Removes the specified row from the selection.

setCaption

data TableSetCaptionMethodInfo Source #

Instances

Instances details
(signature ~ (b -> m ()), MonadIO m, IsTable a, IsObject b) => OverloadedMethod TableSetCaptionMethodInfo a signature Source # 
Instance details

Defined in GI.Atk.Interfaces.Table

Methods

overloadedMethod :: a -> signature #

OverloadedMethodInfo TableSetCaptionMethodInfo (a :: Type) Source # 
Instance details

Defined in GI.Atk.Interfaces.Table

tableSetCaption Source #

Arguments

:: (HasCallStack, MonadIO m, IsTable a, IsObject b) 
=> a

table: a GObject instance that implements AtkTableIface

-> b

caption: a Object representing the caption to set for table

-> m () 

Sets the caption for the table.

setColumnDescription

data TableSetColumnDescriptionMethodInfo Source #

Instances

Instances details
(signature ~ (Int32 -> Text -> m ()), MonadIO m, IsTable a) => OverloadedMethod TableSetColumnDescriptionMethodInfo a signature Source # 
Instance details

Defined in GI.Atk.Interfaces.Table

Methods

overloadedMethod :: a -> signature #

OverloadedMethodInfo TableSetColumnDescriptionMethodInfo (a :: Type) Source # 
Instance details

Defined in GI.Atk.Interfaces.Table

tableSetColumnDescription Source #

Arguments

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

table: a GObject instance that implements AtkTableIface

-> Int32

column: a gint representing a column in table

-> Text

description: a gchar representing the description text to set for the specified column of the table

-> m () 

Sets the description text for the specified column of the table.

setColumnHeader

data TableSetColumnHeaderMethodInfo Source #

Instances

Instances details
(signature ~ (Int32 -> b -> m ()), MonadIO m, IsTable a, IsObject b) => OverloadedMethod TableSetColumnHeaderMethodInfo a signature Source # 
Instance details

Defined in GI.Atk.Interfaces.Table

Methods

overloadedMethod :: a -> signature #

OverloadedMethodInfo TableSetColumnHeaderMethodInfo (a :: Type) Source # 
Instance details

Defined in GI.Atk.Interfaces.Table

tableSetColumnHeader Source #

Arguments

:: (HasCallStack, MonadIO m, IsTable a, IsObject b) 
=> a

table: a GObject instance that implements AtkTableIface

-> Int32

column: a gint representing a column in table

-> b

header: an Table

-> m () 

Sets the specified column header to header.

setRowDescription

data TableSetRowDescriptionMethodInfo Source #

Instances

Instances details
(signature ~ (Int32 -> Text -> m ()), MonadIO m, IsTable a) => OverloadedMethod TableSetRowDescriptionMethodInfo a signature Source # 
Instance details

Defined in GI.Atk.Interfaces.Table

Methods

overloadedMethod :: a -> signature #

OverloadedMethodInfo TableSetRowDescriptionMethodInfo (a :: Type) Source # 
Instance details

Defined in GI.Atk.Interfaces.Table

tableSetRowDescription Source #

Arguments

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

table: a GObject instance that implements AtkTableIface

-> Int32

row: a gint representing a row in table

-> Text

description: a gchar representing the description text to set for the specified row of table

-> m () 

Sets the description text for the specified row of table.

setRowHeader

data TableSetRowHeaderMethodInfo Source #

Instances

Instances details
(signature ~ (Int32 -> b -> m ()), MonadIO m, IsTable a, IsObject b) => OverloadedMethod TableSetRowHeaderMethodInfo a signature Source # 
Instance details

Defined in GI.Atk.Interfaces.Table

Methods

overloadedMethod :: a -> signature #

OverloadedMethodInfo TableSetRowHeaderMethodInfo (a :: Type) Source # 
Instance details

Defined in GI.Atk.Interfaces.Table

tableSetRowHeader Source #

Arguments

:: (HasCallStack, MonadIO m, IsTable a, IsObject b) 
=> a

table: a GObject instance that implements AtkTableIface

-> Int32

row: a gint representing a row in table

-> b

header: an Table

-> m () 

Sets the specified row header to header.

setSummary

data TableSetSummaryMethodInfo Source #

Instances

Instances details
(signature ~ (b -> m ()), MonadIO m, IsTable a, IsObject b) => OverloadedMethod TableSetSummaryMethodInfo a signature Source # 
Instance details

Defined in GI.Atk.Interfaces.Table

Methods

overloadedMethod :: a -> signature #

OverloadedMethodInfo TableSetSummaryMethodInfo (a :: Type) Source # 
Instance details

Defined in GI.Atk.Interfaces.Table

tableSetSummary Source #

Arguments

:: (HasCallStack, MonadIO m, IsTable a, IsObject b) 
=> a

table: a GObject instance that implements AtkTableIface

-> b

accessible: an Object representing the summary description to set for table

-> m () 

Sets the summary description of the table.

Signals

columnDeleted

type TableColumnDeletedCallback Source #

Arguments

 = Int32

arg1: The index of the first column deleted.

-> Int32

arg2: The number of columns deleted.

-> IO () 

The "column-deleted" signal is emitted by an object which implements the AtkTable interface when a column is deleted.

afterTableColumnDeleted :: (IsTable a, MonadIO m) => a -> ((?self :: a) => TableColumnDeletedCallback) -> m SignalHandlerId Source #

Connect a signal handler for the columnDeleted signal, to be run after the default handler. When overloading is enabled, this is equivalent to

after table #columnDeleted callback

By default the object invoking the signal is not passed to the callback. If you need to access it, you can use the implit ?self parameter. Note that this requires activating the ImplicitParams GHC extension.

onTableColumnDeleted :: (IsTable a, MonadIO m) => a -> ((?self :: a) => TableColumnDeletedCallback) -> m SignalHandlerId Source #

Connect a signal handler for the columnDeleted signal, to be run before the default handler. When overloading is enabled, this is equivalent to

on table #columnDeleted callback

columnInserted

type TableColumnInsertedCallback Source #

Arguments

 = Int32

arg1: The index of the column inserted.

-> Int32

arg2: The number of colums inserted.

-> IO () 

The "column-inserted" signal is emitted by an object which implements the AtkTable interface when a column is inserted.

afterTableColumnInserted :: (IsTable a, MonadIO m) => a -> ((?self :: a) => TableColumnInsertedCallback) -> m SignalHandlerId Source #

Connect a signal handler for the columnInserted signal, to be run after the default handler. When overloading is enabled, this is equivalent to

after table #columnInserted callback

By default the object invoking the signal is not passed to the callback. If you need to access it, you can use the implit ?self parameter. Note that this requires activating the ImplicitParams GHC extension.

onTableColumnInserted :: (IsTable a, MonadIO m) => a -> ((?self :: a) => TableColumnInsertedCallback) -> m SignalHandlerId Source #

Connect a signal handler for the columnInserted signal, to be run before the default handler. When overloading is enabled, this is equivalent to

on table #columnInserted callback

columnReordered

type TableColumnReorderedCallback = IO () Source #

The "column-reordered" signal is emitted by an object which implements the AtkTable interface when the columns are reordered.

afterTableColumnReordered :: (IsTable a, MonadIO m) => a -> ((?self :: a) => TableColumnReorderedCallback) -> m SignalHandlerId Source #

Connect a signal handler for the columnReordered signal, to be run after the default handler. When overloading is enabled, this is equivalent to

after table #columnReordered callback

By default the object invoking the signal is not passed to the callback. If you need to access it, you can use the implit ?self parameter. Note that this requires activating the ImplicitParams GHC extension.

onTableColumnReordered :: (IsTable a, MonadIO m) => a -> ((?self :: a) => TableColumnReorderedCallback) -> m SignalHandlerId Source #

Connect a signal handler for the columnReordered signal, to be run before the default handler. When overloading is enabled, this is equivalent to

on table #columnReordered callback

modelChanged

type TableModelChangedCallback = IO () Source #

The "model-changed" signal is emitted by an object which implements the AtkTable interface when the model displayed by the table changes.

afterTableModelChanged :: (IsTable a, MonadIO m) => a -> ((?self :: a) => TableModelChangedCallback) -> m SignalHandlerId Source #

Connect a signal handler for the modelChanged signal, to be run after the default handler. When overloading is enabled, this is equivalent to

after table #modelChanged callback

By default the object invoking the signal is not passed to the callback. If you need to access it, you can use the implit ?self parameter. Note that this requires activating the ImplicitParams GHC extension.

onTableModelChanged :: (IsTable a, MonadIO m) => a -> ((?self :: a) => TableModelChangedCallback) -> m SignalHandlerId Source #

Connect a signal handler for the modelChanged signal, to be run before the default handler. When overloading is enabled, this is equivalent to

on table #modelChanged callback

rowDeleted

type TableRowDeletedCallback Source #

Arguments

 = Int32

arg1: The index of the first row deleted.

-> Int32

arg2: The number of rows deleted.

-> IO () 

The "row-deleted" signal is emitted by an object which implements the AtkTable interface when a row is deleted.

afterTableRowDeleted :: (IsTable a, MonadIO m) => a -> ((?self :: a) => TableRowDeletedCallback) -> m SignalHandlerId Source #

Connect a signal handler for the rowDeleted signal, to be run after the default handler. When overloading is enabled, this is equivalent to

after table #rowDeleted callback

By default the object invoking the signal is not passed to the callback. If you need to access it, you can use the implit ?self parameter. Note that this requires activating the ImplicitParams GHC extension.

onTableRowDeleted :: (IsTable a, MonadIO m) => a -> ((?self :: a) => TableRowDeletedCallback) -> m SignalHandlerId Source #

Connect a signal handler for the rowDeleted signal, to be run before the default handler. When overloading is enabled, this is equivalent to

on table #rowDeleted callback

rowInserted

type TableRowInsertedCallback Source #

Arguments

 = Int32

arg1: The index of the first row inserted.

-> Int32

arg2: The number of rows inserted.

-> IO () 

The "row-inserted" signal is emitted by an object which implements the AtkTable interface when a row is inserted.

afterTableRowInserted :: (IsTable a, MonadIO m) => a -> ((?self :: a) => TableRowInsertedCallback) -> m SignalHandlerId Source #

Connect a signal handler for the rowInserted signal, to be run after the default handler. When overloading is enabled, this is equivalent to

after table #rowInserted callback

By default the object invoking the signal is not passed to the callback. If you need to access it, you can use the implit ?self parameter. Note that this requires activating the ImplicitParams GHC extension.

onTableRowInserted :: (IsTable a, MonadIO m) => a -> ((?self :: a) => TableRowInsertedCallback) -> m SignalHandlerId Source #

Connect a signal handler for the rowInserted signal, to be run before the default handler. When overloading is enabled, this is equivalent to

on table #rowInserted callback

rowReordered

type TableRowReorderedCallback = IO () Source #

The "row-reordered" signal is emitted by an object which implements the AtkTable interface when the rows are reordered.

afterTableRowReordered :: (IsTable a, MonadIO m) => a -> ((?self :: a) => TableRowReorderedCallback) -> m SignalHandlerId Source #

Connect a signal handler for the rowReordered signal, to be run after the default handler. When overloading is enabled, this is equivalent to

after table #rowReordered callback

By default the object invoking the signal is not passed to the callback. If you need to access it, you can use the implit ?self parameter. Note that this requires activating the ImplicitParams GHC extension.

onTableRowReordered :: (IsTable a, MonadIO m) => a -> ((?self :: a) => TableRowReorderedCallback) -> m SignalHandlerId Source #

Connect a signal handler for the rowReordered signal, to be run before the default handler. When overloading is enabled, this is equivalent to

on table #rowReordered callback