## GnomeDbCanvasDbRelations

GnomeDbCanvasDbRelations — Graphical representation of the relations (foreign key constreints) in the database.

##

# Synopsis

    struct      GnomeDbCanvasDbRelations;
    GType       gnome_db_canvas_db_relations_get_type
                                                (void);
    GtkWidget*  gnome_db_canvas_db_relations_new
                                                (GnomeDbDict *dict,
                                                 GnomeDbGraph *graph);

## Object Hierarchy

      GObject
       +----GtkObject
             +----GtkWidget
                   +----GtkContainer
                         +----GtkLayout
                               +----GnomeCanvas
                                     +----GnomeDbCanvas
                                           +----GnomeDbCanvasDbRelations

## Implemented Interfaces

GnomeDbCanvasDbRelations implements AtkImplementorIface.

## Description

This object uses a GnomeDbGraph object to be able to tell which table is displayed, and where on the canvas.

## Details

### struct GnomeDbCanvasDbRelations

    struct GnomeDbCanvasDbRelations;

### gnome_db_canvas_db_relations_get_type ()

    GType       gnome_db_canvas_db_relations_get_type
                                                (void);

Returns : |

### gnome_db_canvas_db_relations_new ()

    GtkWidget*  gnome_db_canvas_db_relations_new
                                                (GnomeDbDict *dict,
                                                 GnomeDbGraph *graph);

Creates a new canvas widget to display the relations between the database's tables. The database is the one managed by the GnomeDbDict object which `graph` refers.

`graph` contains all the table's graphical representations and their respective locations on the canvas, or can be `NULL` (in which case nothing is displayed)

`dict` : | a GnomeDbDict object
`graph` : | a GnomeDbGraph object, or `NULL`
Returns : | a new GnomeDbCanvasDbRelations widget