src/swipl-devel/packages/xpce/man/refmanual/md/table_cell.md

class table_cell {#class-table_cell}

Cell in a table. It plays a similar role to class node, controlling graphical images in a hierarchical layout.

Normally, a table_cell object is created as a side effect of table ->append, appending a graphical to a table.

The table_cell object stores layout information on this particular cell (spanning, alignment, etc.), as well as information required by the table object for fast manipulation of the cells. Important attributes:

| ->cell_padding | Space around the <-image          |
| ->col_span     | # columns spanned                 |
| ->row_span     | # rows spanned                    |
| ->halign       | Horizontal alignment of the image |
| ->valign       | Vertical alignment of the image   |
| ->selected     | Select the cell.                  |
| <-column       | 1-based column index (read)       |
| <-row          | 1-based row index (read)          |

Instance variables {#class-table_cell-instvars}

Send methods {#class-table_cell-send}

Get methods {#class-table_cell-get}



Try the rswipl package in your browser

Any scripts or data that you put into this service are public.

rswipl documentation built on June 16, 2026, 5:07 p.m.