ESourceSelectorDialog: Evolution Utilities Reference Manual

## ESourceSelectorDialog ESourceSelectorDialog |

## Functions

GtkWidget * | e_source_selector_dialog_new ()
ESourceRegistry * | e_source_selector_dialog_get_registry ()
const gchar * | e_source_selector_dialog_get_extension_name ()
ESourceSelector * | e_source_selector_dialog_get_selector ()
ESource * | e_source_selector_dialog_peek_primary_selection ()

## Properties

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

## Types and Values

struct | ESourceSelectorDialog

## Object Hierarchy

        GObject
        ╰── GInitiallyUnowned
            ╰── GtkWidget
                ╰── GtkContainer
                    ╰── GtkBin
                        ╰── GtkWindow
                            ╰── GtkDialog
                                ╰── ESourceSelectorDialog

## Implemented Interfaces

ESourceSelectorDialog implements AtkImplementorIface and GtkBuildable.

## Description

## Functions

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

#### Parameters

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()`.

#### Parameters

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()`.

#### Parameters

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` .

#### Parameters

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` .

#### Parameters

dialog | an ESourceSelectorDialog |

#### Returns

the selected ESource

## Types and Values

### struct ESourceSelectorDialog

    struct ESourceSelectorDialog;

## Property Details

### The `“extension-name”` property

      “extension-name”           gchar *

Flags: Write / Construct Only

Default value: NULL

### The `“registry”` property

      “registry”                 ESourceRegistry *

Flags: Write / Construct Only

### The `“selector”` property

      “selector”                 ESourceSelector *

Flags: Read