## GnomeDbDsnSpec

GnomeDbDsnSpec —

##

# Synopsis

    struct      GnomeDbDsnSpecPrivate;
    GtkWidget*  gnome_db_dsn_spec_new           (const gchar *provider);
    void        gnome_db_dsn_spec_set_provider  (GnomeDbDsnSpec *spec,
                                                 const gchar *provider);
    gchar*      gnome_db_dsn_spec_get_specs     (GnomeDbDsnSpec *spec);
    void        gnome_db_dsn_spec_set_specs     (GnomeDbDsnSpec *spec,
                                                 const gchar *specs_string);

## Description

## Details

### struct GnomeDbDsnSpecPrivate

    struct GnomeDbDsnSpecPrivate;

### gnome_db_dsn_spec_new ()

    GtkWidget*  gnome_db_dsn_spec_new           (const gchar *provider);

Creates a new GnomeDbDsnSpec widget

`provider` : | the provider to be used
Returns : |

### gnome_db_dsn_spec_set_provider ()

    void        gnome_db_dsn_spec_set_provider  (GnomeDbDsnSpec *spec,
                                                 const gchar *provider);

Updates the displayed fields in `spec` to represent the required and possible arguments that a connection to a database through `provider` would require

`spec` : | a GnomeDbDsnSpec widget
`provider` : | the provider to be used

### gnome_db_dsn_spec_get_specs ()

    gchar*      gnome_db_dsn_spec_get_specs     (GnomeDbDsnSpec *spec);

Get the currently displayed provider's specific connection string

`spec` : | a GnomeDbDsnSpec widget
Returns : | a new string, or `NULL` if no provider have been specified

### gnome_db_dsn_spec_set_specs ()

    void        gnome_db_dsn_spec_set_specs     (GnomeDbDsnSpec *spec,
                                                 const gchar *specs_string);

Sets the connection string to be displayed in the widget

`spec` : | a GnomeDbDsnSpec widget
`specs_string` : |