## GnomeDbProviderSelector

GnomeDbProviderSelector — A combo box style widget to select a provider

##

# Synopsis

    struct      GnomeDbProviderSelector;
    struct      GnomeDbProviderSelectorClass;
    struct      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 GtkCellLayout, GtkCellEditable, AtkImplementorIface and GtkBuildable.

## Description

## Details

### struct GnomeDbProviderSelector

    struct GnomeDbProviderSelector;

### struct GnomeDbProviderSelectorClass

    struct GnomeDbProviderSelectorClass {

    	GnomeDbComboClass               parent_class;
    };

### struct GnomeDbProviderSelectorPrivate

    struct 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