## GnomeDbCanvasTable

GnomeDbCanvasTable —

##

# Synopsis

    struct      GnomeDbCanvasTable;
    struct      GnomeDbCanvasTableClass;
    GooCanvasItem* gnome_db_canvas_table_new    (GooCanvasItem *parent,
                                                 GdaMetaTable *table,
                                                 gdouble x,
                                                 gdouble y,
                                                 ...);
    GnomeDbCanvasColumn* gnome_db_canvas_table_get_column_item
                                                (GnomeDbCanvasTable *ce,
                                                 GdaMetaTableColumn *column);
    gdouble     gnome_db_canvas_table_get_column_ypos
                                                (GnomeDbCanvasTable *ce,
                                                 GdaMetaTableColumn *column);

## Object Hierarchy

      GObject
       +----GooCanvasItemSimple
             +----GooCanvasGroup
                   +----GnomeDbCanvasItem
                         +----GnomeDbCanvasTable

## Implemented Interfaces

GnomeDbCanvasTable implements GooCanvasItem.

## Properties

      "popup-menu-func"      gpointer             : Write
      "table"                gpointer             : Read / Write

## Description

## Details

### struct GnomeDbCanvasTable

    struct GnomeDbCanvasTable;

### struct GnomeDbCanvasTableClass

    struct GnomeDbCanvasTableClass {

    	GnomeDbCanvasItemClass   parent_class;
    };

### gnome_db_canvas_table_new ()

    GooCanvasItem* gnome_db_canvas_table_new    (GooCanvasItem *parent,
                                                 GdaMetaTable *table,
                                                 gdouble x,
                                                 gdouble y,
                                                 ...);

Creates a new canvas item to display the `table` table

`parent` : | the parent item, or NULL.
`table` : | a GdaMetaTable to display
`x` : | the x coordinate
`y` : | the y coordinate
`...` : | optional pairs of property names and values, and a terminating NULL.
Returns : | a new GooCanvasItem object

### gnome_db_canvas_table_get_column_item ()

    GnomeDbCanvasColumn* gnome_db_canvas_table_get_column_item
                                                (GnomeDbCanvasTable *ce,
                                                 GdaMetaTableColumn *column);

Get the GnomeDbCanvasColumn object representing `column` in `ce`.

`ce` : | a GnomeDbCanvasTable object
`column` : | a GdaMetaTableColumn object
Returns : | the corresponding GnomeDbCanvasColumn

### gnome_db_canvas_table_get_column_ypos ()

    gdouble     gnome_db_canvas_table_get_column_ypos
                                                (GnomeDbCanvasTable *ce,
                                                 GdaMetaTableColumn *column);

Get the Y position of the middle of the GnomeDbCanvasColumn object representing `column` in `ce`, in `ce`'s coordinates.

`ce` : | a GnomeDbCanvasTable object
`column` : | a GdaMetaTableColumn object
Returns : | the Y coordinate.

## Properties

"`popup-menu-func`" (gpointer : Write) | Function to create a popup menu on each GnomeDbCanvasTable.
"`table`" (gpointer : Read / Write) |