ESourceSelectorDialog

ESourceSelectorDialog

Functions

Description

Functions

e_source_selector_dialog_new ()

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

e_source_selector_dialog_new is deprecated and should not be used in newly-written code.

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);

e_source_selector_dialog_get_registry is deprecated and should not be used in newly-written code.

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);

e_source_selector_dialog_get_extension_name is deprecated and should not be used in newly-written code.

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);

e_source_selector_dialog_get_selector is deprecated and should not be used in newly-written code.

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);

e_source_selector_dialog_peek_primary_selection is deprecated and should not be used in newly-written code.

Peek the currently selected source in the given dialog .

Parameters

dialog

an ESourceSelectorDialog

 

Returns

the selected ESource


e_source_selector_dialog_get_except_source ()

ESource *
e_source_selector_dialog_get_except_source
                               (ESourceSelectorDialog *dialog);

e_source_selector_dialog_get_except_source is deprecated and should not be used in newly-written code.

Get the currently ESource, which cannot be selected in the given dialog . Use e_source_selector_dialog_set_except_source() to set such.

Parameters

dialog

an ESourceSelectorDialog

 

Returns

the ESource, which cannot be selected

Since: 3.18


e_source_selector_dialog_set_except_source ()

void
e_source_selector_dialog_set_except_source
                               (ESourceSelectorDialog *dialog,
                                ESource *except_source);

e_source_selector_dialog_set_except_source is deprecated and should not be used in newly-written code.

Set the except_source , the one which cannot be selected in the given dialog . Use NULL to allow to select all sources.

Parameters

dialog

an ESourceSelectorDialog

 

except_source

an ESource, which cannot be selected, or NULL.

[allow-none]

Since: 3.18

Types and Values