## GnomeDbGraph GnomeDbGraph |

## Synopsis

                        GnomeDbGraph;
                        GnomeDbGraphClass;
    GnomeDbGraph*       gnome_db_graph_new                  (GdaMetaStore *store,
                                                             guint id);
    void                gnome_db_graph_add_item             (GnomeDbGraph *graph,
                                                             GnomeDbGraphItem *item);
    void                gnome_db_graph_del_item             (GnomeDbGraph *graph,
                                                             GnomeDbGraphItem *item);
    GSList*             gnome_db_graph_get_items            (GnomeDbGraph *graph);
    void                gnome_db_graph_delete               (GdaMetaStore *store,
                                                             guint id);

## Object Hierarchy

      GObject
       +----GnomeDbGraph

## Properties

      "id"                       guint                 : Read / Write / Construct Only
      "meta-store"               GdaMetaStore*         : Read / Write / Construct Only

## Signals

      "item-added"                                     : Run First
      "item-dropped"                                   : Run First
      "item-moved"                                     : Run First

## Description

## Details

### GnomeDbGraph

    typedef struct _GnomeDbGraph GnomeDbGraph;

### GnomeDbGraphClass

    typedef struct {
    	GObjectClass   parent_class;

    	/* signals */
    	void        (*item_added)   (GnomeDbGraph *graph, GnomeDbGraphItem *item);
    	void        (*item_dropped) (GnomeDbGraph *graph, GnomeDbGraphItem *item);
    	void        (*item_moved)   (GnomeDbGraph *graph, GnomeDbGraphItem *item);
    } GnomeDbGraphClass;

### gnome_db_graph_new ()

    GnomeDbGraph*       gnome_db_graph_new                  (GdaMetaStore *store,
                                                             guint id);

Creates a new GnomeDbGraph object, which will be stored in `store`.

`store` : | a GdaMetastore object, or `NULL`
`id` : | an existing ID, or G_MAXUINT if ID is to be determined by the library
Returns : | the newly created object

### gnome_db_graph_add_item ()

    void                gnome_db_graph_add_item             (GnomeDbGraph *graph,
                                                             GnomeDbGraphItem *item);

Adds `item` to `graph`.

`graph` : | a GnomeDbGraph object
`item` : | a GnomeDbGraphItem object

### gnome_db_graph_del_item ()

    void                gnome_db_graph_del_item             (GnomeDbGraph *graph,
                                                             GnomeDbGraphItem *item);

Removes `item` from `graph`

`graph` : | a GnomeDbGraph object
`item` : | a GnomeDbGraphItem object

### gnome_db_graph_get_items ()

    GSList*             gnome_db_graph_get_items            (GnomeDbGraph *graph);

Get a list of GnomeDbGraphItem objects which are items of `graph`

`graph` : | a GnomeDbGraph object
Returns : | a new list of GnomeDbGraphItem objects

### gnome_db_graph_delete ()

    void                gnome_db_graph_delete               (GdaMetaStore *store,
                                                             guint id);

Remove a graph from the meta store.

`store` : |
`id` : |

## Property Details

### The `"id"` property

      "id"                       guint                 : Read / Write / Construct Only

Default value: 4294967295

### The `"meta-store"` property

      "meta-store"               GdaMetaStore*         : Read / Write / Construct Only

## Signal Details

### The `"item-added"` signal

    void                user_function                      (GnomeDbGraph     *dbgraph,
                                                            GnomeDbGraphItem *arg1,
                                                            gpointer          user_data)      : Run First

`dbgraph` : | the object which received the signal.
`arg1` : |
`user_data` : | user data set when the signal handler was connected.

### The `"item-dropped"` signal

    void                user_function                      (GnomeDbGraph     *dbgraph,
                                                            GnomeDbGraphItem *arg1,
                                                            gpointer          user_data)      : Run First

`dbgraph` : | the object which received the signal.
`arg1` : |
`user_data` : | user data set when the signal handler was connected.

### The `"item-moved"` signal

    void                user_function                      (GnomeDbGraph     *dbgraph,
                                                            GnomeDbGraphItem *arg1,
                                                            gpointer          user_data)      : Run First

`dbgraph` : | the object which received the signal.
`arg1` : |
`user_data` : | user data set when the signal handler was connected.