ESourceSelectorDialog

## ESourceSelectorDialog ESourceSelectorDialog |

## Synopsis

    struct              ESourceSelectorDialog;
    GtkWidget *         e_source_selector_dialog_new        (GtkWindow *parent,
                                                             ESourceRegistry *registry,
                                                             const gchar *extension_name);
    ESourceRegistry *   e_source_selector_dialog_get_registry
                                                            (ESourceSelectorDialog *dialog);
    const gchar *       e_source_selector_dialog_get_extension_name
                                                            (ESourceSelectorDialog *dialog);
    ESourceSelector *   e_source_selector_dialog_get_selector
                                                            (ESourceSelectorDialog *dialog);
    ESource *           e_source_selector_dialog_peek_primary_selection
                                                            (ESourceSelectorDialog *dialog);

## Object Hierarchy

      GObject
       +----GInitiallyUnowned
             +----GtkWidget
                   +----GtkContainer
                         +----GtkBin
                               +----GtkWindow
                                     +----GtkDialog
                                           +----ESourceSelectorDialog

## Implemented Interfaces

ESourceSelectorDialog implements AtkImplementorIface and GtkBuildable.

## Properties

      "extension-name"           gchar*                : Write / Construct Only
      "registry"                 ESourceRegistry*      : Write / Construct Only
      "selector"                 ESourceSelector*      : Read

## Description

## Details

### struct ESourceSelectorDialog

    struct ESourceSelectorDialog;

### e_source_selector_dialog_new ()

    GtkWidget *         e_source_selector_dialog_new        (GtkWindow *parent,
                                                             ESourceRegistry *registry,
                                                             const gchar *extension_name);

Displays a list of sources from `registry` having an extension named `extension_name` in a dialog window. The sources are grouped by backend or groupware account, which are described by the parent source.

`parent` : | a parent window
`registry` : | an ESourceRegistry
`extension_name` : | the name of an ESource extension
Returns : | a new ESourceSelectorDialog

### e_source_selector_dialog_get_registry ()

    ESourceRegistry *   e_source_selector_dialog_get_registry
                                                            (ESourceSelectorDialog *dialog);

Returns the ESourceRegistry passed to `e_source_selector_dialog_new()`.

`dialog` : | an ESourceSelectorDialog
Returns : | the ESourceRegistry for `dialog`

Since 3.6

### e_source_selector_dialog_get_extension_name ()

    const gchar *       e_source_selector_dialog_get_extension_name
                                                            (ESourceSelectorDialog *dialog);

Returns the extension name passed to `e_source_selector_dialog_new()`.

`dialog` : | an ESourceSelectorDialog
Returns : | the extension name for `dialog`

Since 3.6

### e_source_selector_dialog_get_selector ()

    ESourceSelector *   e_source_selector_dialog_get_selector
                                                            (ESourceSelectorDialog *dialog);

Returns the ESourceSelector widget embedded in `dialog`.

`dialog` : | an ESourceSelectorDialog
Returns : | the ESourceSelector widget

Since 3.6

### e_source_selector_dialog_peek_primary_selection ()

    ESource *           e_source_selector_dialog_peek_primary_selection
                                                            (ESourceSelectorDialog *dialog);

Peek the currently selected source in the given `dialog`.

`dialog` : | an ESourceSelectorDialog
Returns : | the selected ESource

## Property Details

### The `"extension-name"` property

      "extension-name"           gchar*                : Write / Construct Only

Default value: NULL

### The `"registry"` property

      "registry"                 ESourceRegistry*      : Write / Construct Only

### The `"selector"` property

      "selector"                 ESourceSelector*      : Read