| Copyright | Will Thompson and Iñaki García Etxebarria |
|---|---|
| License | LGPL-2.1 |
| Maintainer | Iñaki García Etxebarria |
| Safe Haskell | None |
| Language | Haskell2010 |
GI.Atk.Interfaces.Table
Contents
- Exported types
- Methods
- addColumnSelection
- addRowSelection
- getCaption
- getColumnAtIndex
- getColumnDescription
- getColumnExtentAt
- getColumnHeader
- getIndexAt
- getNColumns
- getNRows
- getRowAtIndex
- getRowDescription
- getRowExtentAt
- getRowHeader
- getSelectedColumns
- getSelectedRows
- getSummary
- isColumnSelected
- isRowSelected
- isSelected
- refAt
- removeColumnSelection
- removeRowSelection
- setCaption
- setColumnDescription
- setColumnHeader
- setRowDescription
- setRowHeader
- setSummary
- Signals
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
- newtype Table = Table (ManagedPtr Table)
- class (GObject o, IsDescendantOf Table o) => IsTable o
- toTable :: (MonadIO m, IsTable o) => o -> m Table
- type family ResolveTableMethod (t :: Symbol) o where ...
- data TableAddColumnSelectionMethodInfo
- tableAddColumnSelection :: (HasCallStack, MonadIO m, IsTable a) => a -> Int32 -> m Bool
- data TableAddRowSelectionMethodInfo
- tableAddRowSelection :: (HasCallStack, MonadIO m, IsTable a) => a -> Int32 -> m Bool
- data TableGetCaptionMethodInfo
- tableGetCaption :: (HasCallStack, MonadIO m, IsTable a) => a -> m (Maybe Object)
- data TableGetColumnAtIndexMethodInfo
- tableGetColumnAtIndex :: (HasCallStack, MonadIO m, IsTable a) => a -> Int32 -> m Int32
- data TableGetColumnDescriptionMethodInfo
- tableGetColumnDescription :: (HasCallStack, MonadIO m, IsTable a) => a -> Int32 -> m Text
- data TableGetColumnExtentAtMethodInfo
- tableGetColumnExtentAt :: (HasCallStack, MonadIO m, IsTable a) => a -> Int32 -> Int32 -> m Int32
- data TableGetColumnHeaderMethodInfo
- tableGetColumnHeader :: (HasCallStack, MonadIO m, IsTable a) => a -> Int32 -> m (Maybe Object)
- data TableGetIndexAtMethodInfo
- tableGetIndexAt :: (HasCallStack, MonadIO m, IsTable a) => a -> Int32 -> Int32 -> m Int32
- data TableGetNColumnsMethodInfo
- tableGetNColumns :: (HasCallStack, MonadIO m, IsTable a) => a -> m Int32
- data TableGetNRowsMethodInfo
- tableGetNRows :: (HasCallStack, MonadIO m, IsTable a) => a -> m Int32
- data TableGetRowAtIndexMethodInfo
- tableGetRowAtIndex :: (HasCallStack, MonadIO m, IsTable a) => a -> Int32 -> m Int32
- data TableGetRowDescriptionMethodInfo
- tableGetRowDescription :: (HasCallStack, MonadIO m, IsTable a) => a -> Int32 -> m (Maybe Text)
- data TableGetRowExtentAtMethodInfo
- tableGetRowExtentAt :: (HasCallStack, MonadIO m, IsTable a) => a -> Int32 -> Int32 -> m Int32
- data TableGetRowHeaderMethodInfo
- tableGetRowHeader :: (HasCallStack, MonadIO m, IsTable a) => a -> Int32 -> m (Maybe Object)
- data TableGetSelectedColumnsMethodInfo
- tableGetSelectedColumns :: (HasCallStack, MonadIO m, IsTable a) => a -> Int32 -> m Int32
- data TableGetSelectedRowsMethodInfo
- tableGetSelectedRows :: (HasCallStack, MonadIO m, IsTable a) => a -> Int32 -> m Int32
- data TableGetSummaryMethodInfo
- tableGetSummary :: (HasCallStack, MonadIO m, IsTable a) => a -> m Object
- data TableIsColumnSelectedMethodInfo
- tableIsColumnSelected :: (HasCallStack, MonadIO m, IsTable a) => a -> Int32 -> m Bool
- data TableIsRowSelectedMethodInfo
- tableIsRowSelected :: (HasCallStack, MonadIO m, IsTable a) => a -> Int32 -> m Bool
- data TableIsSelectedMethodInfo
- tableIsSelected :: (HasCallStack, MonadIO m, IsTable a) => a -> Int32 -> Int32 -> m Bool
- data TableRefAtMethodInfo
- tableRefAt :: (HasCallStack, MonadIO m, IsTable a) => a -> Int32 -> Int32 -> m Object
- data TableRemoveColumnSelectionMethodInfo
- tableRemoveColumnSelection :: (HasCallStack, MonadIO m, IsTable a) => a -> Int32 -> m Bool
- data TableRemoveRowSelectionMethodInfo
- tableRemoveRowSelection :: (HasCallStack, MonadIO m, IsTable a) => a -> Int32 -> m Bool
- data TableSetCaptionMethodInfo
- tableSetCaption :: (HasCallStack, MonadIO m, IsTable a, IsObject b) => a -> b -> m ()
- data TableSetColumnDescriptionMethodInfo
- tableSetColumnDescription :: (HasCallStack, MonadIO m, IsTable a) => a -> Int32 -> Text -> m ()
- data TableSetColumnHeaderMethodInfo
- tableSetColumnHeader :: (HasCallStack, MonadIO m, IsTable a, IsObject b) => a -> Int32 -> b -> m ()
- data TableSetRowDescriptionMethodInfo
- tableSetRowDescription :: (HasCallStack, MonadIO m, IsTable a) => a -> Int32 -> Text -> m ()
- data TableSetRowHeaderMethodInfo
- tableSetRowHeader :: (HasCallStack, MonadIO m, IsTable a, IsObject b) => a -> Int32 -> b -> m ()
- data TableSetSummaryMethodInfo
- tableSetSummary :: (HasCallStack, MonadIO m, IsTable a, IsObject b) => a -> b -> m ()
- type TableColumnDeletedCallback = Int32 -> Int32 -> IO ()
- data TableColumnDeletedSignalInfo
- afterTableColumnDeleted :: (IsTable a, MonadIO m) => a -> ((?self :: a) => TableColumnDeletedCallback) -> m SignalHandlerId
- onTableColumnDeleted :: (IsTable a, MonadIO m) => a -> ((?self :: a) => TableColumnDeletedCallback) -> m SignalHandlerId
- type TableColumnInsertedCallback = Int32 -> Int32 -> IO ()
- data TableColumnInsertedSignalInfo
- afterTableColumnInserted :: (IsTable a, MonadIO m) => a -> ((?self :: a) => TableColumnInsertedCallback) -> m SignalHandlerId
- onTableColumnInserted :: (IsTable a, MonadIO m) => a -> ((?self :: a) => TableColumnInsertedCallback) -> m SignalHandlerId
- type TableColumnReorderedCallback = IO ()
- data TableColumnReorderedSignalInfo
- afterTableColumnReordered :: (IsTable a, MonadIO m) => a -> ((?self :: a) => TableColumnReorderedCallback) -> m SignalHandlerId
- onTableColumnReordered :: (IsTable a, MonadIO m) => a -> ((?self :: a) => TableColumnReorderedCallback) -> m SignalHandlerId
- type TableModelChangedCallback = IO ()
- data TableModelChangedSignalInfo
- afterTableModelChanged :: (IsTable a, MonadIO m) => a -> ((?self :: a) => TableModelChangedCallback) -> m SignalHandlerId
- onTableModelChanged :: (IsTable a, MonadIO m) => a -> ((?self :: a) => TableModelChangedCallback) -> m SignalHandlerId
- type TableRowDeletedCallback = Int32 -> Int32 -> IO ()
- data TableRowDeletedSignalInfo
- afterTableRowDeleted :: (IsTable a, MonadIO m) => a -> ((?self :: a) => TableRowDeletedCallback) -> m SignalHandlerId
- onTableRowDeleted :: (IsTable a, MonadIO m) => a -> ((?self :: a) => TableRowDeletedCallback) -> m SignalHandlerId
- type TableRowInsertedCallback = Int32 -> Int32 -> IO ()
- data TableRowInsertedSignalInfo
- afterTableRowInserted :: (IsTable a, MonadIO m) => a -> ((?self :: a) => TableRowInsertedCallback) -> m SignalHandlerId
- onTableRowInserted :: (IsTable a, MonadIO m) => a -> ((?self :: a) => TableRowInsertedCallback) -> m SignalHandlerId
- type TableRowReorderedCallback = IO ()
- data TableRowReorderedSignalInfo
- afterTableRowReordered :: (IsTable a, MonadIO m) => a -> ((?self :: a) => TableRowReorderedCallback) -> m SignalHandlerId
- onTableRowReordered :: (IsTable a, MonadIO m) => a -> ((?self :: a) => TableRowReorderedCallback) -> m SignalHandlerId
Exported types
Memory-managed wrapper type.
Constructors
| Table (ManagedPtr Table) |
Instances
class (GObject o, IsDescendantOf Table o) => IsTable o Source #
Instances
| (GObject o, IsDescendantOf Table o) => IsTable o Source # | |
Defined in GI.Atk.Interfaces.Table | |
Methods
Click to display all available methods, including inherited ones
Methods
addColumnSelection, addRowSelection, bindProperty, bindPropertyFull, forceFloating, freezeNotify, getv, isColumnSelected, isFloating, isRowSelected, isSelected, notify, notifyByPspec, ref, refAt, refSink, removeColumnSelection, removeRowSelection, runDispose, stealData, stealQdata, thawNotify, unref, watchClosure.
Getters
getCaption, getColumnAtIndex, getColumnDescription, getColumnExtentAt, getColumnHeader, getData, getIndexAt, getNColumns, getNRows, getProperty, getQdata, getRowAtIndex, getRowDescription, getRowExtentAt, getRowHeader, getSelectedColumns, getSelectedRows, getSummary.
Setters
setCaption, setColumnDescription, setColumnHeader, setData, setDataFull, setProperty, setRowDescription, setRowHeader, setSummary.
type family ResolveTableMethod (t :: Symbol) o where ... Source #
Equations
addColumnSelection
data TableAddColumnSelectionMethodInfo Source #
Instances
| (signature ~ (Int32 -> m Bool), MonadIO m, IsTable a) => OverloadedMethod TableAddColumnSelectionMethodInfo a signature Source # | |
Defined in GI.Atk.Interfaces.Table Methods overloadedMethod :: a -> signature # | |
| OverloadedMethodInfo TableAddColumnSelectionMethodInfo (a :: Type) Source # | |
Defined in GI.Atk.Interfaces.Table Methods | |
tableAddColumnSelection Source #
Arguments
| :: (HasCallStack, MonadIO m, IsTable a) | |
| => a |
|
| -> Int32 |
|
| -> 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
| (signature ~ (Int32 -> m Bool), MonadIO m, IsTable a) => OverloadedMethod TableAddRowSelectionMethodInfo a signature Source # | |
Defined in GI.Atk.Interfaces.Table Methods overloadedMethod :: a -> signature # | |
| OverloadedMethodInfo TableAddRowSelectionMethodInfo (a :: Type) Source # | |
Defined in GI.Atk.Interfaces.Table Methods | |
Arguments
| :: (HasCallStack, MonadIO m, IsTable a) | |
| => a |
|
| -> Int32 |
|
| -> 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
| (signature ~ m (Maybe Object), MonadIO m, IsTable a) => OverloadedMethod TableGetCaptionMethodInfo a signature Source # | |
Defined in GI.Atk.Interfaces.Table Methods overloadedMethod :: a -> signature # | |
| OverloadedMethodInfo TableGetCaptionMethodInfo (a :: Type) Source # | |
Defined in GI.Atk.Interfaces.Table Methods | |
Arguments
| :: (HasCallStack, MonadIO m, IsTable a) | |
| => a |
|
| -> m (Maybe Object) | Returns: a AtkObject* representing the
table caption, or |
Gets the caption for the table.
getColumnAtIndex
data TableGetColumnAtIndexMethodInfo Source #
Instances
| (signature ~ (Int32 -> m Int32), MonadIO m, IsTable a) => OverloadedMethod TableGetColumnAtIndexMethodInfo a signature Source # | |
Defined in GI.Atk.Interfaces.Table Methods overloadedMethod :: a -> signature # | |
| OverloadedMethodInfo TableGetColumnAtIndexMethodInfo (a :: Type) Source # | |
Defined in GI.Atk.Interfaces.Table Methods | |
tableGetColumnAtIndex Source #
Arguments
| :: (HasCallStack, MonadIO m, IsTable a) | |
| => a |
|
| -> Int32 |
|
| -> 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
data TableGetColumnDescriptionMethodInfo Source #
Instances
| (signature ~ (Int32 -> m Text), MonadIO m, IsTable a) => OverloadedMethod TableGetColumnDescriptionMethodInfo a signature Source # | |
Defined in GI.Atk.Interfaces.Table Methods overloadedMethod :: a -> signature # | |
| OverloadedMethodInfo TableGetColumnDescriptionMethodInfo (a :: Type) Source # | |
Defined in GI.Atk.Interfaces.Table Methods | |
tableGetColumnDescription Source #
Arguments
| :: (HasCallStack, MonadIO m, IsTable a) | |
| => a |
|
| -> Int32 |
|
| -> m Text | Returns: a gchar* representing the column description, or |
Gets the description text of the specified column in the table
getColumnExtentAt
data TableGetColumnExtentAtMethodInfo Source #
Instances
| (signature ~ (Int32 -> Int32 -> m Int32), MonadIO m, IsTable a) => OverloadedMethod TableGetColumnExtentAtMethodInfo a signature Source # | |
Defined in GI.Atk.Interfaces.Table Methods overloadedMethod :: a -> signature # | |
| OverloadedMethodInfo TableGetColumnExtentAtMethodInfo (a :: Type) Source # | |
Defined in GI.Atk.Interfaces.Table Methods | |
tableGetColumnExtentAt Source #
Arguments
| :: (HasCallStack, MonadIO m, IsTable a) | |
| => a |
|
| -> Int32 |
|
| -> Int32 |
|
| -> 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
| (signature ~ (Int32 -> m (Maybe Object)), MonadIO m, IsTable a) => OverloadedMethod TableGetColumnHeaderMethodInfo a signature Source # | |
Defined in GI.Atk.Interfaces.Table Methods overloadedMethod :: a -> signature # | |
| OverloadedMethodInfo TableGetColumnHeaderMethodInfo (a :: Type) Source # | |
Defined in GI.Atk.Interfaces.Table Methods | |
Arguments
| :: (HasCallStack, MonadIO m, IsTable a) | |
| => a |
|
| -> Int32 |
|
| -> m (Maybe Object) | Returns: a AtkObject* representing the
specified column header, or |
Gets the column header of a specified column in an accessible table.
getIndexAt
data TableGetIndexAtMethodInfo Source #
Instances
| (signature ~ (Int32 -> Int32 -> m Int32), MonadIO m, IsTable a) => OverloadedMethod TableGetIndexAtMethodInfo a signature Source # | |
Defined in GI.Atk.Interfaces.Table Methods overloadedMethod :: a -> signature # | |
| OverloadedMethodInfo TableGetIndexAtMethodInfo (a :: Type) Source # | |
Defined in GI.Atk.Interfaces.Table Methods | |
Arguments
| :: (HasCallStack, MonadIO m, IsTable a) | |
| => a |
|
| -> Int32 |
|
| -> Int32 |
|
| -> m Int32 | Returns: a |
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
| (signature ~ m Int32, MonadIO m, IsTable a) => OverloadedMethod TableGetNColumnsMethodInfo a signature Source # | |
Defined in GI.Atk.Interfaces.Table Methods overloadedMethod :: a -> signature # | |
| OverloadedMethodInfo TableGetNColumnsMethodInfo (a :: Type) Source # | |
Defined in GI.Atk.Interfaces.Table Methods | |
Arguments
| :: (HasCallStack, MonadIO m, IsTable a) | |
| => a |
|
| -> 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
| (signature ~ m Int32, MonadIO m, IsTable a) => OverloadedMethod TableGetNRowsMethodInfo a signature Source # | |
Defined in GI.Atk.Interfaces.Table Methods overloadedMethod :: a -> signature # | |
| OverloadedMethodInfo TableGetNRowsMethodInfo (a :: Type) Source # | |
Defined in GI.Atk.Interfaces.Table Methods | |
Arguments
| :: (HasCallStack, MonadIO m, IsTable a) | |
| => a |
|
| -> 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
| (signature ~ (Int32 -> m Int32), MonadIO m, IsTable a) => OverloadedMethod TableGetRowAtIndexMethodInfo a signature Source # | |
Defined in GI.Atk.Interfaces.Table Methods overloadedMethod :: a -> signature # | |
| OverloadedMethodInfo TableGetRowAtIndexMethodInfo (a :: Type) Source # | |
Defined in GI.Atk.Interfaces.Table Methods | |
Arguments
| :: (HasCallStack, MonadIO m, IsTable a) | |
| => a |
|
| -> Int32 |
|
| -> 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
| (signature ~ (Int32 -> m (Maybe Text)), MonadIO m, IsTable a) => OverloadedMethod TableGetRowDescriptionMethodInfo a signature Source # | |
Defined in GI.Atk.Interfaces.Table Methods overloadedMethod :: a -> signature # | |
| OverloadedMethodInfo TableGetRowDescriptionMethodInfo (a :: Type) Source # | |
Defined in GI.Atk.Interfaces.Table Methods | |
tableGetRowDescription Source #
Arguments
| :: (HasCallStack, MonadIO m, IsTable a) | |
| => a |
|
| -> Int32 |
|
| -> m (Maybe Text) | Returns: a gchar* representing the row description, or
|
Gets the description text of the specified row in the table
getRowExtentAt
data TableGetRowExtentAtMethodInfo Source #
Instances
| (signature ~ (Int32 -> Int32 -> m Int32), MonadIO m, IsTable a) => OverloadedMethod TableGetRowExtentAtMethodInfo a signature Source # | |
Defined in GI.Atk.Interfaces.Table Methods overloadedMethod :: a -> signature # | |
| OverloadedMethodInfo TableGetRowExtentAtMethodInfo (a :: Type) Source # | |
Defined in GI.Atk.Interfaces.Table Methods | |
Arguments
| :: (HasCallStack, MonadIO m, IsTable a) | |
| => a |
|
| -> Int32 |
|
| -> Int32 |
|
| -> 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
| (signature ~ (Int32 -> m (Maybe Object)), MonadIO m, IsTable a) => OverloadedMethod TableGetRowHeaderMethodInfo a signature Source # | |
Defined in GI.Atk.Interfaces.Table Methods overloadedMethod :: a -> signature # | |
| OverloadedMethodInfo TableGetRowHeaderMethodInfo (a :: Type) Source # | |
Defined in GI.Atk.Interfaces.Table Methods | |
Arguments
| :: (HasCallStack, MonadIO m, IsTable a) | |
| => a |
|
| -> Int32 |
|
| -> m (Maybe Object) | Returns: a AtkObject* representing the
specified row header, or |
Gets the row header of a specified row in an accessible table.
getSelectedColumns
data TableGetSelectedColumnsMethodInfo Source #
Instances
| (signature ~ (Int32 -> m Int32), MonadIO m, IsTable a) => OverloadedMethod TableGetSelectedColumnsMethodInfo a signature Source # | |
Defined in GI.Atk.Interfaces.Table Methods overloadedMethod :: a -> signature # | |
| OverloadedMethodInfo TableGetSelectedColumnsMethodInfo (a :: Type) Source # | |
Defined in GI.Atk.Interfaces.Table Methods | |
tableGetSelectedColumns Source #
Arguments
| :: (HasCallStack, MonadIO m, IsTable a) | |
| => a |
|
| -> Int32 |
|
| -> m Int32 | Returns: a gint representing the number of selected columns,
or |
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
| (signature ~ (Int32 -> m Int32), MonadIO m, IsTable a) => OverloadedMethod TableGetSelectedRowsMethodInfo a signature Source # | |
Defined in GI.Atk.Interfaces.Table Methods overloadedMethod :: a -> signature # | |
| OverloadedMethodInfo TableGetSelectedRowsMethodInfo (a :: Type) Source # | |
Defined in GI.Atk.Interfaces.Table Methods | |
Arguments
| :: (HasCallStack, MonadIO m, IsTable a) | |
| => a |
|
| -> Int32 |
|
| -> 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
| (signature ~ m Object, MonadIO m, IsTable a) => OverloadedMethod TableGetSummaryMethodInfo a signature Source # | |
Defined in GI.Atk.Interfaces.Table Methods overloadedMethod :: a -> signature # | |
| OverloadedMethodInfo TableGetSummaryMethodInfo (a :: Type) Source # | |
Defined in GI.Atk.Interfaces.Table Methods | |
Arguments
| :: (HasCallStack, MonadIO m, IsTable a) | |
| => a |
|
| -> 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
| (signature ~ (Int32 -> m Bool), MonadIO m, IsTable a) => OverloadedMethod TableIsColumnSelectedMethodInfo a signature Source # | |
Defined in GI.Atk.Interfaces.Table Methods overloadedMethod :: a -> signature # | |
| OverloadedMethodInfo TableIsColumnSelectedMethodInfo (a :: Type) Source # | |
Defined in GI.Atk.Interfaces.Table Methods | |
tableIsColumnSelected Source #
Arguments
| :: (HasCallStack, MonadIO m, IsTable a) | |
| => a |
|
| -> Int32 |
|
| -> 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
| (signature ~ (Int32 -> m Bool), MonadIO m, IsTable a) => OverloadedMethod TableIsRowSelectedMethodInfo a signature Source # | |
Defined in GI.Atk.Interfaces.Table Methods overloadedMethod :: a -> signature # | |
| OverloadedMethodInfo TableIsRowSelectedMethodInfo (a :: Type) Source # | |
Defined in GI.Atk.Interfaces.Table Methods | |
Arguments
| :: (HasCallStack, MonadIO m, IsTable a) | |
| => a |
|
| -> Int32 |
|
| -> 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
| (signature ~ (Int32 -> Int32 -> m Bool), MonadIO m, IsTable a) => OverloadedMethod TableIsSelectedMethodInfo a signature Source # | |
Defined in GI.Atk.Interfaces.Table Methods overloadedMethod :: a -> signature # | |
| OverloadedMethodInfo TableIsSelectedMethodInfo (a :: Type) Source # | |
Defined in GI.Atk.Interfaces.Table Methods | |
Arguments
| :: (HasCallStack, MonadIO m, IsTable a) | |
| => a |
|
| -> Int32 |
|
| -> Int32 |
|
| -> 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
| (signature ~ (Int32 -> Int32 -> m Object), MonadIO m, IsTable a) => OverloadedMethod TableRefAtMethodInfo a signature Source # | |
Defined in GI.Atk.Interfaces.Table Methods overloadedMethod :: a -> signature # | |
| OverloadedMethodInfo TableRefAtMethodInfo (a :: Type) Source # | |
Defined in GI.Atk.Interfaces.Table Methods | |
Arguments
| :: (HasCallStack, MonadIO m, IsTable a) | |
| => a |
|
| -> Int32 |
|
| -> Int32 |
|
| -> m Object | Returns: an |
Get a reference to the table cell at row, column. This cell
should implement the interface TableCell
removeColumnSelection
data TableRemoveColumnSelectionMethodInfo Source #
Instances
| (signature ~ (Int32 -> m Bool), MonadIO m, IsTable a) => OverloadedMethod TableRemoveColumnSelectionMethodInfo a signature Source # | |
Defined in GI.Atk.Interfaces.Table Methods overloadedMethod :: a -> signature # | |
| OverloadedMethodInfo TableRemoveColumnSelectionMethodInfo (a :: Type) Source # | |
Defined in GI.Atk.Interfaces.Table Methods | |
tableRemoveColumnSelection Source #
Arguments
| :: (HasCallStack, MonadIO m, IsTable a) | |
| => a |
|
| -> Int32 |
|
| -> 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
data TableRemoveRowSelectionMethodInfo Source #
Instances
| (signature ~ (Int32 -> m Bool), MonadIO m, IsTable a) => OverloadedMethod TableRemoveRowSelectionMethodInfo a signature Source # | |
Defined in GI.Atk.Interfaces.Table Methods overloadedMethod :: a -> signature # | |
| OverloadedMethodInfo TableRemoveRowSelectionMethodInfo (a :: Type) Source # | |
Defined in GI.Atk.Interfaces.Table Methods | |
tableRemoveRowSelection Source #
Arguments
| :: (HasCallStack, MonadIO m, IsTable a) | |
| => a |
|
| -> Int32 |
|
| -> 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
| (signature ~ (b -> m ()), MonadIO m, IsTable a, IsObject b) => OverloadedMethod TableSetCaptionMethodInfo a signature Source # | |
Defined in GI.Atk.Interfaces.Table Methods overloadedMethod :: a -> signature # | |
| OverloadedMethodInfo TableSetCaptionMethodInfo (a :: Type) Source # | |
Defined in GI.Atk.Interfaces.Table Methods | |
Arguments
| :: (HasCallStack, MonadIO m, IsTable a, IsObject b) | |
| => a |
|
| -> b |
|
| -> m () |
Sets the caption for the table.
setColumnDescription
data TableSetColumnDescriptionMethodInfo Source #
Instances
| (signature ~ (Int32 -> Text -> m ()), MonadIO m, IsTable a) => OverloadedMethod TableSetColumnDescriptionMethodInfo a signature Source # | |
Defined in GI.Atk.Interfaces.Table Methods overloadedMethod :: a -> signature # | |
| OverloadedMethodInfo TableSetColumnDescriptionMethodInfo (a :: Type) Source # | |
Defined in GI.Atk.Interfaces.Table Methods | |
tableSetColumnDescription Source #
Arguments
| :: (HasCallStack, MonadIO m, IsTable a) | |
| => a |
|
| -> Int32 |
|
| -> Text |
|
| -> m () |
Sets the description text for the specified column of the table.
setColumnHeader
data TableSetColumnHeaderMethodInfo Source #
Instances
| (signature ~ (Int32 -> b -> m ()), MonadIO m, IsTable a, IsObject b) => OverloadedMethod TableSetColumnHeaderMethodInfo a signature Source # | |
Defined in GI.Atk.Interfaces.Table Methods overloadedMethod :: a -> signature # | |
| OverloadedMethodInfo TableSetColumnHeaderMethodInfo (a :: Type) Source # | |
Defined in GI.Atk.Interfaces.Table Methods | |
Arguments
| :: (HasCallStack, MonadIO m, IsTable a, IsObject b) | |
| => a |
|
| -> Int32 |
|
| -> b |
|
| -> m () |
Sets the specified column header to header.
setRowDescription
data TableSetRowDescriptionMethodInfo Source #
Instances
| (signature ~ (Int32 -> Text -> m ()), MonadIO m, IsTable a) => OverloadedMethod TableSetRowDescriptionMethodInfo a signature Source # | |
Defined in GI.Atk.Interfaces.Table Methods overloadedMethod :: a -> signature # | |
| OverloadedMethodInfo TableSetRowDescriptionMethodInfo (a :: Type) Source # | |
Defined in GI.Atk.Interfaces.Table Methods | |
tableSetRowDescription Source #
Arguments
| :: (HasCallStack, MonadIO m, IsTable a) | |
| => a |
|
| -> Int32 |
|
| -> Text |
|
| -> m () |
Sets the description text for the specified row of table.
setRowHeader
data TableSetRowHeaderMethodInfo Source #
Instances
| (signature ~ (Int32 -> b -> m ()), MonadIO m, IsTable a, IsObject b) => OverloadedMethod TableSetRowHeaderMethodInfo a signature Source # | |
Defined in GI.Atk.Interfaces.Table Methods overloadedMethod :: a -> signature # | |
| OverloadedMethodInfo TableSetRowHeaderMethodInfo (a :: Type) Source # | |
Defined in GI.Atk.Interfaces.Table Methods | |
Arguments
| :: (HasCallStack, MonadIO m, IsTable a, IsObject b) | |
| => a |
|
| -> Int32 |
|
| -> b |
|
| -> m () |
Sets the specified row header to header.
setSummary
data TableSetSummaryMethodInfo Source #
Instances
| (signature ~ (b -> m ()), MonadIO m, IsTable a, IsObject b) => OverloadedMethod TableSetSummaryMethodInfo a signature Source # | |
Defined in GI.Atk.Interfaces.Table Methods overloadedMethod :: a -> signature # | |
| OverloadedMethodInfo TableSetSummaryMethodInfo (a :: Type) Source # | |
Defined in GI.Atk.Interfaces.Table Methods | |
Arguments
| :: (HasCallStack, MonadIO m, IsTable a, IsObject b) | |
| => a |
|
| -> b |
|
| -> m () |
Sets the summary description of the table.
Signals
columnDeleted
type TableColumnDeletedCallback Source #
Arguments
| = Int32 |
|
| -> Int32 |
|
| -> IO () |
The "column-deleted" signal is emitted by an object which implements the AtkTable interface when a column is deleted.
data TableColumnDeletedSignalInfo Source #
Instances
| SignalInfo TableColumnDeletedSignalInfo Source # | |||||
Defined in GI.Atk.Interfaces.Table Associated Types
Methods connectSignal :: GObject o => o -> (o -> HaskellCallbackType TableColumnDeletedSignalInfo) -> SignalConnectMode -> Maybe Text -> IO SignalHandlerId # | |||||
| type HaskellCallbackType TableColumnDeletedSignalInfo Source # | |||||
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 |
|
| -> Int32 |
|
| -> IO () |
The "column-inserted" signal is emitted by an object which implements the AtkTable interface when a column is inserted.
data TableColumnInsertedSignalInfo Source #
Instances
| SignalInfo TableColumnInsertedSignalInfo Source # | |||||
Defined in GI.Atk.Interfaces.Table Associated Types
Methods connectSignal :: GObject o => o -> (o -> HaskellCallbackType TableColumnInsertedSignalInfo) -> SignalConnectMode -> Maybe Text -> IO SignalHandlerId # | |||||
| type HaskellCallbackType TableColumnInsertedSignalInfo Source # | |||||
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.
data TableColumnReorderedSignalInfo Source #
Instances
| SignalInfo TableColumnReorderedSignalInfo Source # | |||||
Defined in GI.Atk.Interfaces.Table Associated Types
Methods connectSignal :: GObject o => o -> (o -> HaskellCallbackType TableColumnReorderedSignalInfo) -> SignalConnectMode -> Maybe Text -> IO SignalHandlerId # | |||||
| type HaskellCallbackType TableColumnReorderedSignalInfo Source # | |||||
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.
data TableModelChangedSignalInfo Source #
Instances
| SignalInfo TableModelChangedSignalInfo Source # | |||||
Defined in GI.Atk.Interfaces.Table Associated Types
Methods connectSignal :: GObject o => o -> (o -> HaskellCallbackType TableModelChangedSignalInfo) -> SignalConnectMode -> Maybe Text -> IO SignalHandlerId # | |||||
| type HaskellCallbackType TableModelChangedSignalInfo Source # | |||||
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 |
|
| -> Int32 |
|
| -> IO () |
The "row-deleted" signal is emitted by an object which implements the AtkTable interface when a row is deleted.
data TableRowDeletedSignalInfo Source #
Instances
| SignalInfo TableRowDeletedSignalInfo Source # | |||||
Defined in GI.Atk.Interfaces.Table Associated Types
Methods connectSignal :: GObject o => o -> (o -> HaskellCallbackType TableRowDeletedSignalInfo) -> SignalConnectMode -> Maybe Text -> IO SignalHandlerId # | |||||
| type HaskellCallbackType TableRowDeletedSignalInfo Source # | |||||
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 |
|
| -> Int32 |
|
| -> IO () |
The "row-inserted" signal is emitted by an object which implements the AtkTable interface when a row is inserted.
data TableRowInsertedSignalInfo Source #
Instances
| SignalInfo TableRowInsertedSignalInfo Source # | |||||
Defined in GI.Atk.Interfaces.Table Associated Types
Methods connectSignal :: GObject o => o -> (o -> HaskellCallbackType TableRowInsertedSignalInfo) -> SignalConnectMode -> Maybe Text -> IO SignalHandlerId # | |||||
| type HaskellCallbackType TableRowInsertedSignalInfo Source # | |||||
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.
data TableRowReorderedSignalInfo Source #
Instances
| SignalInfo TableRowReorderedSignalInfo Source # | |||||
Defined in GI.Atk.Interfaces.Table Associated Types
Methods connectSignal :: GObject o => o -> (o -> HaskellCallbackType TableRowReorderedSignalInfo) -> SignalConnectMode -> Maybe Text -> IO SignalHandlerId # | |||||
| type HaskellCallbackType TableRowReorderedSignalInfo Source # | |||||
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