## GnomeDbProviderSelector GnomeDbProviderSelector — A combo box style widget to select a provider |

## Synopsis

                        GnomeDbProviderSelector;
                        GnomeDbProviderSelectorClass;
                        GnomeDbProviderSelectorPrivate;
    GtkWidget *         gnome_db_provider_selector_new      (void);
    const gchar *       gnome_db_provider_selector_get_provider
                                                            (GnomeDbProviderSelector *selector);
    GdaServerProvider * gnome_db_provider_selector_get_provider_obj
                                                            (GnomeDbProviderSelector *selector);
    gboolean            gnome_db_provider_selector_set_provider
                                                            (GnomeDbProviderSelector *selector,
                                                             const gchar *provider);

## Object Hierarchy

      GObject
       +----GInitiallyUnowned
             +----GtkObject
                   +----GtkWidget
                         +----GtkContainer
                               +----GtkBin
                                     +----GtkComboBox
                                           +----GnomeDbCombo
                                                 +----GnomeDbProviderSelector

## Implemented Interfaces

GnomeDbProviderSelector implements GtkBuildable, AtkImplementorIface, GtkCellLayout and GtkCellEditable.

## Description

## Details

### GnomeDbProviderSelector

    typedef struct _GnomeDbProviderSelector GnomeDbProviderSelector;

### GnomeDbProviderSelectorClass

    typedef struct {
    	GnomeDbComboClass               parent_class;
    } GnomeDbProviderSelectorClass;

### GnomeDbProviderSelectorPrivate

    typedef struct _GnomeDbProviderSelectorPrivate GnomeDbProviderSelectorPrivate;

### gnome_db_provider_selector_new ()

    GtkWidget *         gnome_db_provider_selector_new      (void);

Create a new GnomeDbProviderSelector widget.

Returns : | the newly created widget.

### gnome_db_provider_selector_get_provider ()

    const gchar *       gnome_db_provider_selector_get_provider
                                                            (GnomeDbProviderSelector *selector);

Get the selected provider.

`selector` : | a GnomeDbProviderSelector widget
Returns : | the selected provider

### gnome_db_provider_selector_get_provider_obj ()

    GdaServerProvider * gnome_db_provider_selector_get_provider_obj
                                                            (GnomeDbProviderSelector *selector);

Get the selected provider as a GdaServerProvider object

`selector` : | a GnomeDbProviderSelector widget
Returns : | a new GdaServerProvider or `NULL` if an error occurred

### gnome_db_provider_selector_set_provider ()

    gboolean            gnome_db_provider_selector_set_provider
                                                            (GnomeDbProviderSelector *selector,
                                                             const gchar *provider);

Forces `selector` to be set on `provider`

`selector` : | a GnomeDbProviderSelector widget
`provider` : | the provider to be selected, or `NULL` for the default (SQLite)
Returns : | TRUE if `provider` has been selected