From e37b58efec96ce102e8c354a979a2b37d28249c7 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Tue, 24 Apr 2001 02:23:47 +0000 Subject: Documented this function properly. 2001-04-23 Christopher James Lahey * e-table.c (e_table_get_cell_geometry): Documented this function properly. * e-tree.c, e-tree.h (e_tree_get_cell_geometry): Added this function. svn path=/trunk/; revision=9533 --- widgets/table/e-table.c | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'widgets/table/e-table.c') diff --git a/widgets/table/e-table.c b/widgets/table/e-table.c index cb725c9a1f..3998f468cd 100644 --- a/widgets/table/e-table.c +++ b/widgets/table/e-table.c @@ -1523,15 +1523,16 @@ e_table_get_cell_at (ETable *table, } /** - * e_table_get_cell_at: - * @table: An ETable widget - * @x: X coordinate for the pixel - * @y: Y coordinate for the pixel - * @row_return: Pointer to return the row value - * @col_return: Pointer to return the column value + * e_table_get_cell_geometry: + * @table: The table. + * @row: The row to get the geometry of. + * @col: The col to get the geometry of. + * @x_return: Returns the x coordinate of the upper right hand corner of the cell with respect to the widget. + * @y_return: Returns the y coordinate of the upper right hand corner of the cell with respect to the widget. + * @width_return: Returns the width of the cell. + * @height_return: Returns the height of the cell. * - * Return the row and column for the cell in which the pixel at (@x, @y) is - * contained. + * Computes the data about this cell. **/ void e_table_get_cell_geometry (ETable *table, -- cgit v1.2.3