ESourceSelectorDialog

## ESourceSelectorDialog ESourceSelectorDialog |

## Synopsis

    struct              ESourceSelectorDialog;
    GtkWidget *	        e_source_selector_dialog_new        (GtkWindow *parent,
                                                             ESourceList *source_list);
    gboolean            e_source_selector_dialog_select_default_source
                                                            (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.

## Description

## Details

### struct ESourceSelectorDialog

    struct ESourceSelectorDialog;

### e_source_selector_dialog_new ()

    GtkWidget *	        e_source_selector_dialog_new        (GtkWindow *parent,
                                                             ESourceList *source_list);

Create a new source selector dialog for the given `list`.

`parent` : | a parent window
`source_list` : | an ESourceList
Returns : | a new ESourceSelectorDialog

### e_source_selector_dialog_select_default_source ()

    gboolean            e_source_selector_dialog_select_default_source
                                                            (ESourceSelectorDialog *dialog);

Selects the default source in the dialog.

`dialog` : | an ESourceSelectorDialog
Returns : | `TRUE` if a default source was selected

Since 2.28

### 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