## ENameSelectorDialog

ENameSelectorDialog

## Synopsis

    struct              ENameSelectorDialog;
    ENameSelectorDialog * e_name_selector_dialog_new        (ESourceRegistry *registry);
    ESourceRegistry *   e_name_selector_dialog_get_registry (ENameSelectorDialog *name_selector_dialog);
    ENameSelectorModel * e_name_selector_dialog_peek_model  (ENameSelectorDialog *name_selector_dialog);
    void                e_name_selector_dialog_set_model    (ENameSelectorDialog *name_selector_dialog,
                                                             ENameSelectorModel *model);
    void                e_name_selector_dialog_set_destination_index
                                                            (ENameSelectorDialog *name_selector_dialog,
                                                             guint index);
    void                e_name_selector_dialog_set_scrolling_policy
                                                            (ENameSelectorDialog *name_selector_dialog,
                                                             GtkPolicyType hscrollbar_policy,
                                                             GtkPolicyType vscrollbar_policy);

## Object Hierarchy

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

## Implemented Interfaces

ENameSelectorDialog implements AtkImplementorIface, GtkBuildable and EExtensible.

## Properties

      "registry"                 ESourceRegistry*      : Read / Write / Construct Only

## Description

## Details

### struct ENameSelectorDialog

    struct ENameSelectorDialog;

### e_name_selector_dialog_new ()

    ENameSelectorDialog * e_name_selector_dialog_new        (ESourceRegistry *registry);

Creates a new ENameSelectorDialog.

`registry` : | an ESourceRegistry
Returns : | A new ENameSelectorDialog.

### e_name_selector_dialog_get_registry ()

    ESourceRegistry *   e_name_selector_dialog_get_registry (ENameSelectorDialog *name_selector_dialog);

Returns the ESourceRegistry that was passed to `e_name_selector_dialog_new()`.

`name_selector_dialog` : | an ENameSelectorDialog
Returns : | the ESourceRegistry

Since 3.6

### e_name_selector_dialog_peek_model ()

    ENameSelectorModel * e_name_selector_dialog_peek_model  (ENameSelectorDialog *name_selector_dialog);

Gets the ENameSelectorModel used by `name_selector_model`.

`name_selector_dialog` : | an ENameSelectorDialog
Returns : | The ENameSelectorModel being used.

### e_name_selector_dialog_set_model ()

    void                e_name_selector_dialog_set_model    (ENameSelectorDialog *name_selector_dialog,
                                                             ENameSelectorModel *model);

Sets the model being used by `name_selector_dialog` to `model`.

`name_selector_dialog` : | an ENameSelectorDialog
`model` : | an ENameSelectorModel

### e_name_selector_dialog_set_destination_index ()

    void                e_name_selector_dialog_set_destination_index
                                                            (ENameSelectorDialog *name_selector_dialog,
                                                             guint index);

Sets the index number of the destination section.

`name_selector_dialog` : | an ENameSelectorDialog
`index` : | index of the destination section, starting from 0.

### e_name_selector_dialog_set_scrolling_policy ()

    void                e_name_selector_dialog_set_scrolling_policy
                                                            (ENameSelectorDialog *name_selector_dialog,
                                                             GtkPolicyType hscrollbar_policy,
                                                             GtkPolicyType vscrollbar_policy);

Sets the scrolling policy for the contacts section.

`name_selector_dialog` : | an ENameSelectorDialog
`hscrollbar_policy` : | scrolling policy for horizontal bar of the contacts window.
`vscrollbar_policy` : | scrolling policy for vertical bar of the contacts window.

Since 3.2

## Property Details

### The `"registry"` property

      "registry"                 ESourceRegistry*      : Read / Write / Construct Only

Data source registry.