GnuCash  5.6-150-g038405b370+
Data Structures | Functions
cellblock.h File Reference

Declarations for the CellBlock object. More...

#include "basiccell.h"
#include "gtable.h"

Go to the source code of this file.

Data Structures

struct  CellBlock
 

Functions

CellBlockgnc_cellblock_new (int rows, int cols, const char *cursor_name)
 Create a new CellBlock on the heap. More...
 
void gnc_cellblock_destroy (CellBlock *cellblock)
 Delete a CellBlock and its Cells. More...
 
void gnc_cellblock_set_cell (CellBlock *cellblock, int row, int col, BasicCell *cell)
 Add a cell to the CellBlock at the specified coordinates. More...
 
BasicCell * gnc_cellblock_get_cell (CellBlock *cellblock, int row, int col)
 Retrieve the Cell at the specified coordinates. More...
 
BasicCell * gnc_cellblock_get_cell_by_name (CellBlock *cellblock, const char *cell_name, int *row, int *col)
 Searches by name for a particular cell in a CellBlock. More...
 
int gnc_cellblock_changed (CellBlock *cursor, gboolean include_conditional)
 Return number of changed cells. More...
 
void gnc_cellblock_clear_changes (CellBlock *cursor)
 Sets all cells in the cellblock to not changed. More...
 

Detailed Description

Declarations for the CellBlock object.

Author
Copyright (c) 1988 Linas Vepstas
Copyright (c) 2000-2001 Dave Peticolas dave@.nosp@m.kron.nosp@m.do.co.nosp@m.m

The CellBlock struct is a rectangular grid of cells that define an arrangement of cells. It is typically used to define a virtual cursor within a larger table of cells.

Definition in file cellblock.h.